Learn R Programming

dartR (version 1.1.11)

gl.report.callrate: Report summary of Call Rate for loci or individuals

Description

SNP datasets generated by DArT have missing values primarily arising from failure to call a SNP because of a mutation at one or both of the the restriction enzyme recognition sites. This script reports the number of missing values for each of several percentiles. The script gl.filter.callrate() will filter out the loci with call rates below a specified threshold.

Usage

gl.report.callrate(x, method = "loc", plot = TRUE, v = 2)

Arguments

x

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

method

specify the type of report by locus (method="loc") or individual (method="ind") [default method="loc"]

plot

specify if a histogram of call rate is to be produced [default TRUE]

v

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

Value

Mean call rate by locus (method="loc") or individual (method="ind")

Examples

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

Run the code above in your browser using DataLab