R programming: calculate LD for a list of SNPs using 1000G
1
0
Entering edit mode
9.1 years ago

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 • 2.3k views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode
9.1 years ago
confusedious ▴ 470

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

ADD COMMENT

Login before adding your answer.

Traffic: 1889 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6