leaf: Functional annotation tree.

Description Usage Arguments Value Author(s) Examples

Description

This function will provide the annotation combinations relevant to risk-associated SNPs.

Usage

1
2
## S4 method for signature 'GPATree'
leaf(object)

Arguments

object

An object of class GPATree.

Value

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.

Author(s)

Aastha Khatiwada

Examples

 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)

asthakhatiwada/GPATree documentation built on March 8, 2021, 5:29 a.m.