LDprune | R Documentation |
The function prunes SNPs that are in LD using PLINK
LDprune(
W,
snpList,
snpLocs,
fileName,
windowSize,
numSNPShift,
ldThresh,
verbose = T,
snpAnnot = NULL
)
W |
matrix, dosage of SNPs |
snpList |
character vector, vector of SNPs in W |
snpLocs |
data frame, SNP locations in MatrixEQTL form |
fileName |
character, name for PLINK intermediate files |
windowSize |
integer, window size for PLINK pruning |
numSNPShift |
integer, shifting window for PLINK pruning |
ldThresh |
numeric, LD threshold for PLINK pruning |
list of pruned genotype matrix, vector of SNP names, and location data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.