You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Milan,
I am having issue with drawing co ancestry matrix using your fineradstructureplot.R script.
The issue is following:
datamatrix<-dataraw[fullorder,fullorder]
Error in dataraw[fullorder, fullorder] : subscript out of bounds
I am using R version 3.6.1 inside conda, as earlier with R-4.2 also same issue occurred.
Please suggest me the possible solution for plotting.
Thanks,
Lomous
The text was updated successfully, but these errors were encountered:
You normally get this error when the elements of "fullorder" are not in the row names and/or column names of your matrix "dataraw". Explanations include a) you start a name with a number or special character; b) there are "." characters, which are coerced to "_" in column names (you can just replace them; this could happen for other special characers) or c) you've done something bespoke with the data matrix construction and there is not a complete match. I recommend asking "all(fullorder %in% rownames(dataraw))" or similar to find the problem.
Hi Milan,
I am having issue with drawing co ancestry matrix using your fineradstructureplot.R script.
The issue is following:
The text was updated successfully, but these errors were encountered: