Question: R programming: calculate LD for a list of SNPs using 1000G
0
gravatar for luanluansun
4.4 years ago by
United Kingdom
luanluansun0 wrote:

Hi,

I have a list of SNPs and now I would like to calculate the LDs within my list based on 1000G data in R. My issue is now when extracting my list of SNPs from the 1000G, there are some conflicts of the format since my list contains only SNP_id and coordinates while the 1000G were in bed format. Does anyone have tried to do it using some tools rather than one by one manually.

Thanks  in advance. 

 

 

 

 

 

snp R • 1.5k views
ADD COMMENTlink modified 4.4 years ago by confusedious420 • written 4.4 years ago by luanluansun0

@luanluansun put an example data and write the expected output please 

ADD REPLYlink written 4.4 years ago by Mo890
0
gravatar for confusedious
4.4 years ago by
confusedious420
Australia
confusedious420 wrote:

There is a package on Bioconductor called 'snpStats' that might be worth your time. Check that out.

ADD COMMENTlink written 4.4 years ago by confusedious420
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 973 users visited in the last hour