Description Usage Arguments Value
Splits a VCF file into foreground and background variant sets based upon a Linkage Disequilibrium cutoff
1 2 | SplitVcfLd(vcf, ld = list(metric = "R.squared", cutoff = 0.8, maf =
0.01), strict.subset = TRUE)
|
vcf |
an object of class VCF, particularly one that has been processed by CalcLD() |
ld |
a list containing three fields. These include:
|
strict.subset |
boolean indicating if one wishes the foreground to be a strict subset of the background, or an independant set. |
a list of length 2 containing in the 'fg' slot the VCF object of the foreground SNPs, and the bg slot containing the VCF object of the background SNPs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.