Description Usage Arguments Value
This function will:
1) Find the best SNPs in gr_snps
using the pvalue
parameter.
2) Will extract relevant lines from geno_ld
.
3) Create r2
vector.
1 | add_r2_from_vcftools(geno_ld, gr_snps, pvalue = NULL, status = NULL)
|
geno_ld |
The file *.geno.ld produced by 'vcftools' or a
|
gr_snps |
A |
pvalue |
The name of the column to use as pvalue. Default: NULL (the first numerical metadata column will be used) |
status |
Name of the column for the SNP status (Genotype or Imputed).
If value is |
A numeric
vector corresponding to the pairwise LD of best SNP
versus all the other SNPs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.