retrieve_LD: Retrive SNP pairwise LD from database. SNP pairwise lD are...

View source: R/locuscompare.R

retrieve_LDR Documentation

Retrive SNP pairwise LD from database. SNP pairwise lD are calculated based on 1000 Genomes Project Phase 3 version 5. For storage-efficiency, the output will only include SNPs with r2 > 0.2 with the input SNP.

Description

Retrive SNP pairwise LD from database. SNP pairwise lD are calculated based on 1000 Genomes Project Phase 3 version 5. For storage-efficiency, the output will only include SNPs with r2 > 0.2 with the input SNP.

Usage

retrieve_LD(chr, snp, population)

Arguments

chr

(string) Chromosome name. e.g. '22'. Notice that the name should not contain 'chr'.

snp

(string) SNP rsID.

population

(string) One of the 5 popuations from 1000 Genomes: 'AFR', 'AMR', 'EAS', 'EUR', and 'SAS'.

Examples

retrieve_LD('6', 'rs9349379', 'AFR')


boxiangliu/locuscomparer documentation built on Nov. 27, 2022, 7:26 a.m.