Learn R Programming

dartR (version 1.1.11)

gl.report.maf: Report minor allele frequency (MAF) for each locus in a genlight adegenet object

Description

Summary of minor allele frequencies across loci is reported as histograms.

Usage

gl.report.maf(x, maf.limit = 0.5, ind.limit = 5, loc.limit = 30,
  v = 2)

Arguments

x

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

maf.limit

-- show histograms maf range <= maf.limit [default 0.5]

ind.limit

-- show histograms only for populations of size greater than ind.limit [default 5]

loc.limit

-- show histograms only for populations with more than loc.limit polymorphic loci [default 30]

v

-- verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log ; 3, progress and results summary; 5, full report [default 2]

Examples

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

Run the code above in your browser using DataLab