gl7 <- gl.filter.callrate(glx, threshold = 0.95, v=5)
but in v. 1.8.3 I now get returned the error on the same input data glx:
Starting gl.filter.callrate [ Build = Jacob ]
Processing a SNP dataset
Error in if (x@other$loc.metrics.flags$monomorphs == FALSE) { :
argument is of length zero
- Would you have any suggestions on what might be the issue? The genlight object "glx" already does not contain any monomorphs:
gl.report.monomorphs(glx)
Starting gl.report.monomorphs
Processing a SNP dataset
Identifying monomorphic loci
No. of loci: 51329
Polymorphic loci: 51329
Monomorphic loci: 0
Loci scored all NA: 0
No. of individuals: 509
No. of populations: 11
Completed: gl.report.monomorphs
NULL
Thanks for your suggestions,
Best regards, Caroline.
Threatened Species Botanist, Northern Territory Government, Darwin.
glx <- gl.compliance.check(glx)
Starting gl.compliance.check
Processing a SNP dataset
Checking coding of SNPs
SNP data scored NA, 0, 1 or 2 confirmed
Checking locus metrics and flags
Recalculating locus metrics
Checking for monomorphic loci
No monomorphic loci detected
Checking for individual metrics
Individual metrics confirmed
Checking for population assignments
Population assignments confirmed
Spelling of coordinates checked and changed if necessary
Completed: gl.compliance.check
To view this discussion on the web visit https://groups.google.com/d/msgid/dartr/b80e8aa0-f76f-4343-b77a-d430e6746d43n%40googlegroups.com.