powered by
This script deletes selected loci from the nominated dataset.
gl.drop.loc(x, loc.list, v = 2)
-- name of the genlight object containing SNP genotypes or a genind object containing presence/absence data [required]
-- vector of loci names to be droped.
-- verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log ; 3, progress and results summary; 5, full report [default 2]
A genlight object with the reduced data
# NOT RUN { gl <- gl.drop.loc(testset.gl, loc.list=c("100049687|12-A/G","100050106|50-G/A")) # }
Run the code above in your browser using DataLab