pruneRegulon: Prune Regulons

Description Usage Arguments Value See Also Examples

Description

This function limits the maximum size of the regulons

Usage

1
pruneRegulon(regulon, cutoff = 50, eliminate = FALSE)

Arguments

regulon

Object of class regulon

cutoff

Number indicating the maximum size for the regulons (maximum number of target genes)

eliminate

Logical whether regulons smalles than cutoff should be eliminated

Value

Prunned regulon

See Also

viper, msviper

Examples

1
2
3
4
data(bcellViper, package="bcellViper")
hist(sapply(regulon, function(x) sum(x$likelihood)/max(x$likelihood)), nclass=20)
preg <- pruneRegulon(regulon, 400)
hist(sapply(preg, function(x) sum(x$likelihood)/max(x$likelihood)), nclass=20)

chrischen1/viper_copy documentation built on May 13, 2019, 6:52 p.m.