drop_snps | R Documentation |
remove a set of SNPs from the SNPdata object
snpdata = drop_snps(snpdata, snp.to.be.dropped=NA, chrom="Pf3D7_05_v3", start=100, end=500)
snpdata |
a SNPdata object |
snp.to.be.dropped |
a data frame with 2 columns "Chrom" and "Pos" |
chrom |
the chromosome from which loci should be dropped |
start |
the starting position of the region to be discarded |
end |
the end position of the region to be discarded |
when snp.to.be.dropped is not set to NA (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 NA (chrom=NA, start=NA, end=NA)
a SNPdata object where the specified SNPs have been removed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.