thinSnps | R Documentation |
Thin SNPs according to various methods: based on their index or based on their genomic coordinate.
thinSnps(method, threshold, snp.coords, only.chr = NULL)
method |
index or coord |
threshold |
keep every "threshold" SNPs (if method="index"), keep SNPs with more than "threshold" base pairs between them (if method="coord") |
snp.coords |
data.frame with SNP identifiers as row names, and two columns, "chr" and "coord" or "pos"; SNPs will be sorted according to their coordinates per chromosome (use |
only.chr |
identifier of a given chromosome |
vector of SNP identifiers
Timothee Flutre
pruneSnpsLd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.