BGI-shenzhen / LDBlockShow

LDBlockShow: a fast and convenient tool for visualizing linkage disequilibrium and haplotype blocks based on VCF files
MIT License
134 stars 40 forks source link

clarify snp comparisons in triangle #18

Closed Apis-DeLorian closed 2 years ago

Apis-DeLorian commented 2 years ago

I was just wanting to clarify how the r^2 values in the triangle output correspond to specific pairs of snps. Is the first row and first column element the r^2 of the snps of the first and last positions? The first column and last row element is the r^2 value corresponding to the first and second snp? The last column and first row element is the r^2 of the last and second to last snp?

Thanks

hewm2008 commented 2 years ago

dear @Apis-DeLorian Here I provide an example here,as follows: Hope this will make it easier for you to understand

data Mat.xlsx

image

Apis-DeLorian commented 2 years ago

@hewm2008 Thank you. Yes, this clarified everything for me!