Learn R Programming

dartR (version 1.1.11)

gl.report.secondaries: Report loci containing secondary SNPs in a genlight {adegenet} object

Description

SNP datasets generated by DArT include fragments with more than one SNP (that is, with secondaries) and record them separately with the same CloneID (=AlleleID). These multiple SNP loci within a fragment are likely to be linked, and so you may wish to remove secondaries. This script reports duplicate loci.

Usage

gl.report.secondaries(gl)

Arguments

gl

-- name of the genlight object containing the SNP data [required]

Value

1

Examples

Run this code
# NOT RUN {
gl.report.secondaries(testset.gl)
# }

Run the code above in your browser using DataLab