.gwasvcf_to_coloc_rsid | R Documentation |
Prepare gwasvcf files for coloc. This method will extract SNPs from one file using one chrompos and then look up those SNPs in the other file – this is to ensure coloc can be conducted upon two datasets of different genomic builds without the need of liftover.
.gwasvcf_to_coloc_rsid( vcf1, vcf2, chrompos, type1 = NULL, type2 = NULL, build1 = "GRCh37", build2 = "GRCh37", verbose = TRUE )
vcf1 |
VCF object or path to vcf file |
vcf2 |
VCF object or path to vcf file |
chrompos |
Character of the format chr:pos1-pos2 |
list of coloc-ready data, or NA if failed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.