-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visualization of meanQ files fastSTRUCTURE #77
Comments
Here is a short example. You can run this yourself and it should work on your system.
This exports a figure to your working directory. When reading your own files, change the first line to a folder containing your files.
|
Hi, library(pophelper) f <- list.files(path=system.file("E:/TASSEL-work/SEGI/popheler/", package="pophelper"), full.names=T) flist <- readQ(files=f) error: Error in readQ(files = f) : readQ: No input files. |
Please let me know how to access my own files generated by faststructure. |
As I said in the last line, for your own files, you should use
without |
Hi, it works. Now, I am trying to add metadata in my plot. I tried in different ways to figure out but I am not able to get a plot with label information.
Here is my code:
threelabset <- read.delim("E:/pophe/SEGI_pop.txt", header=T, stringsAsFactors=F)
head(threelabset)
nrow(threelabset)
sapply(threelabset, is.character)
onelabset <- threelabset[,1,drop=FALSE]
#Sorting with group labels
segi_p1 <- plotQ(qlist=segi_flist[c(1, 2, 3, 4)],imgoutput="join",returnplot=T,exportplot=F,basesize=11,
grplab=onelabset, grplabsize=3.5,linesize=0.8,pointsize=3,
sharedindlab=F,sortind="all")
segi_p1
message :
$data
$data$qlist
[1] NA
$data$grplab
[1] NA
|
Hi,
Could anyone please let me know the initial codes to start visualizing the meanQ files, generated from fastSTRUCTURE. I am totally lost in the tutorial of pophelper. It is very large and complicate.
The text was updated successfully, but these errors were encountered: