Learn R Programming

dartR (version 1.1.11)

gl.report.monomorphs: Report monomorphic loci, including those with all NAs

Description

This script reports the number of monomorphic loci from a genlight {adegenet} object

Usage

gl.report.monomorphs(gl)

Arguments

gl

-- name of the input genlight object [required]

Value

A report on loci, polymorphic, monomorphic, all NAs

Details

A DArT dataset will not have monomorphic loci, but they can arise when populations or individuals are deleted. Retaining monomorphic loci unnecessarily increases the size of the dataset.

Examples

Run this code
# NOT RUN {
gl2 <- gl.report.monomorphs(testset.gl)
# }

Run the code above in your browser using DataLab