View source: R/mJAM_LDpruning.R
mJAM_LDpruning | R Documentation |
Pruning SNPs based on LD
mJAM_LDpruning(target, testing, R, within_thre = 0.95, across_thre = 0.8)
target |
Target SNP ID. |
testing |
IDs of SNPs to be tested. |
R |
a list of correlation matrix of all SNPs. |
within_thre |
threshold of r2 with selected index SNP(s) within a single population. If a SNP's correlation with any selected index SNP is greater than this threshold in at least one population, it will be excluded from subsequent rounds of index SNP selection. |
across_thre |
threshold of r2 with selected index SNP(s) across all populations. If a SNP's correlation with any selected index SNP is greater than this threshold in all populations, it will be excluded from subsequent rounds of index SNP selection. |
SNP IDs to be pruned due to high within-population correlation
SNP IDs to be pruned due to high across-population correlation
Jiayi Shen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.