integrateSignatures: Integrate signatures

Description Usage Arguments Value Examples

View source: R/general.r

Description

This function integrates signatures represented as columns in the input matrix using self-weighting average

Usage

1

Arguments

signature

Numeric matrix containing the signatures as z-scores or NES, genes in rows and signatures in columns

score

Number indicating the exponent score for the weight

Value

Vector containing the integrated signatures

Examples

1
2
3
4
5
data(bcellViper, package="bcellViper")
sig <- bootstrapTtest(dset, "description", "CB", "N", per=100)
isig <- integrateSignatures(sig)
plot(density(sig))
lines(density(isig, adj=1.5), col="red")

viper documentation built on Nov. 8, 2020, 7:37 p.m.