getModel: Returns the Progeny Model

View source: R/progenySuppFunc.r

getModelR Documentation

Returns the Progeny Model

Description

This function is designed for getting a model matrix with top significant genes for each pathway

Usage

getModel(organism = "Human", top = 100, decoupleR = F)

Arguments

organism

"Human" or "Mouse" taken from the main function's argument. Default to "Human"

top

Desired top number of genes for each pathway according to their significance(p.value). Default to 100

decoupleR

if TRUE, the model matrix is goign to be generated with a format makes it directlz compatible with the decoupleR package

Value

This function returns model matrix according to the top n significant

Examples

#getting a model matrix according to the desired top n significant 
model <- getModel("Human", top=100)

saezlab/progeny documentation built on Feb. 9, 2023, 2:21 p.m.