Report monomorphic loci
This script reports the number of monomorphic locim and those with all NAsm from a genlight {adegenet} object
gl.report.monomorphs(x, verbose = NULL)
x |
– name of the input genlight object [required] |
verbose |
– verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log ; 3, progress and results summary; 5, full report [default 2 or as specified using gl.set.verbosity] |
A DArT dataset will not have monomorphic loci, but they can arise, along with loci that are scored all NA, when populations or individuals are deleted. Retaining monomorphic loci unnecessarily increases the size of the dataset and will affect some calculations.
Note that for SNP data, NAs likely represent null alleles; in tag presence/absence data, NAs represent missing values (presence/absence could not be reliably scored)
Arthur Georges (Post to https://groups.google.com/d/forum/dartr)
# SNP data out <- gl.report.monomorphs(testset.gl) # SilicoDArT data out <- gl.report.monomorphs(testset.gs)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.