estP: Estimate p using 'mgsa'

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/estP.R

Description

Uses the mgsa library to estimate pi for input to the ILP, sequentialRM, bp functions.

Usage

1
estP(I, y, alpha, gamma)

Arguments

I

incidence matrix, genes as the rows, gene sets as columns

y

binary vector, with genes as names, must match rownames(I)

alpha

numeric, false positive rate in role model, must be between 0 and 1

gamma

numeric, true positive rate in role model, must be between 0 and 1

Details

See ILP

Value

numeric, estimate of p for input to other Rolemodel functions

Author(s)

Aimee Teo Broman, Zhishi Wang

See Also

mgsa ILP sequentialRM bp

Examples

1
2
3
data(t2d)

## estP(t2d$I,t2d$y,alpha=0.00019,gamma=0.02279)

wiscstatman/Rolemodel documentation built on May 4, 2019, 6:32 a.m.