View source: R/trainSNPPheno.R
trainSNPPheno | R Documentation |
The function runs FUSION-type local-only modeling for a phenotype
trainSNPPheno(
pheno,
snpCur,
snpList,
thisSNP,
fileName,
prune = T,
windowSize = 50,
numSNPShift = 5,
ldThresh = 0.5,
verbose = T,
snpAnnot = NULL
)
pheno |
vector, phenotypes |
snpCur |
matrix, SNP dosages |
snpList |
vector, vector of SNP identifiers |
thisSNP |
data.frame, SNP locations |
fileName |
character, prefix for LDprune |
prune |
logical, T/F to LD prune |
windowSize |
numeric, PLINK LD prune window size |
numSNPShift |
integer, PLINK LD shifting interval |
ldThresh |
numeric, LD threshold |
verbose |
logical, T/F for verbosity |
snpAnnot |
data.frame, SNP annotations |
list with TME and P-value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.