Description Usage Arguments Value Author(s) Examples
This function will implement association mapping for the GPA-Tree model.
1 2 | ## S4 method for signature 'GPATree'
assoc(object, FDR = 0.05, fdrControl = "global")
|
object |
An object of class GPATree. |
FDR |
FDR level. Value has to be between 0 and 1. |
fdrControl |
Method to control FDR. Possible values are "global" (global FDR control) and "local" (local FDR control). |
Returns a MX2 matrix where the row represents SNPs, the fist column indicates the association between each SNP and phenotype, and the second column indicates the leaf in which the SNP falls
Aastha Khatiwada
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
library(GPATree)
# load GPATree example data
data(GPATreeExampleData)
#fitting the GPATree model
fit <- GPATree(GPATreeExampleData$gwasPval, GPATreeExampleData$annMat)
# pruning the GPATree model fit
assoc.fit <- assoc(fit, FDR = 0.05, fdrControl = "global")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.