scaleGroups: Signatures with grouping variable

Description Usage Arguments Details Value Examples

Description

scaleGroups compares each group vs. the remaining groups using a Student's t-test

Usage

1
scaleGroups(x, groups)

Arguments

x

Numerical matrix with genes in rows and samples in columns

groups

Vector of same length as columns has the dset containing the labels for grouping the samples

Details

This function compute signatures using groups information

Value

Numeric matrix of signatures (z-scores) with genes in rows and groups in columns

Examples

1
2
3
data(bcellViper, package="bcellViper")
res <- scaleGroups(exprs(dset)[, 1:20], rep(1:4, rep(5, 4)))
res[1:5, ]

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