Usage
filterProfile(data, ref, add.missing.loci = FALSE, keep.na = FALSE, ignore.case = TRUE, exact = FALSE, invert = FALSE, debug = FALSE)
Arguments
data
data frame with genotype data in 'slim' format.
ref
data frame with reference profile in 'slim' format.
add.missing.loci
logical. TRUE add loci present in ref but not in data.
Overrides keep.na=FALSE.
keep.na
logical. FALSE discards NA alleles.
TRUE keep loci/sample even if no matching allele.
ignore.case
logical TRUE ignore case.
exact
logical TRUE use exact matching of sample names.
invert
logical TRUE filter peaks NOT matching the reference.
debug
logical indicating printing debug information.