Drop a of set SNPs from a SNPdata
object
drop_snps(
snpdata,
snp_to_be_dropped = NULL,
chrom = NULL,
start = NULL,
end = NULL
)
A SNPdata
object where the specified SNPs have been removed.
When 'snp_to_be_dropped' is not NULL (i.e. the genomic coordinates of snps to be removed are in a data frame), then the rest of the arguments can be ignored or set to NULL (chrom = NULL, start = NULL, end = NULL)
if (FALSE) { # \dontrun{
snpdata <- drop_snps(
snpdata,
snp_to_be_dropped = NULL,
chrom = "Pf3D7_05_v3",
start = 100,
end = 500
)
} # }