NESCent / MINOTAUR

Multivariate vIsualisatioN and OuTlier Analysis Using R
13 stars 6 forks source link

problem with Tajima's D and ROH for DCMS #23

Open spchavan10 opened 6 months ago

spchavan10 commented 6 months ago

Does anyone knows how to setup Tajima's D file for converting the D scores to p-values by using stat-to-pvalue function. I mean what should be the window size for that? "CHROM" "BIN_START" "N_SNPS" "TajimaD" 1 0 2 0.150434 1 500000 2 0.961961 1 1000000 4 -0.392816 1 1500000 2 -0.385007 1 2000000 8 0.717065 1 2500000 8 -0.429805 1 3000000 8 0.423718 1 3500000 6 0.685038 1 4000000 6 0.309805

Here it shows TajimaD score for n_snps, but how should i correlate this with other methods used in the DCMS (like iHS, where IHS score is calculated for each SNP). Will it be viable if I take bin size or Window size 50 or 100, for obtaining D-score for each SNP?

And What about ROH, how does it works in the DCMS ?