Description Usage Arguments Value
View source: R/rareGWAMA.TWAS.R
calculate R2 from a list of variants;
1 | calc.r2(vcf.ref.file, tabix.range, refGeno = "GT")
|
vcf.ref.file |
VCF reference file |
tabix.range |
tabix range for a list of variants; |
refGeno |
the FORMAT field for genotypes; could be GT or DS; |
calcualted r2 matrix; with positions being the row and colnames;
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.