Description Usage Arguments Value Author(s) Examples
This function will provide the annotation combinations relevant to risk-associated SNPs.
1 2 | ## S4 method for signature 'GPATree'
leaf(object)
|
object |
An object of class GPATree. |
Returns a matrix where each row corresponds to a leaf from the GPA-Tree model fit and contains information regarding the local FDR for SNPs in the leaf, and also information regarding annotations that are enriched (1) or not enriched (0) for the leaf.
Aastha Khatiwada
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
library(GPATree)
# load GPATree example data
data(GPATreeExampleData)
#fitting the GPATree model
fit <- GPATree(GPATreeExampleData$gwasPval, GPATreeExampleData$annMat)
leaf(fit)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.