scaleGroups {viper}R Documentation

Signatures with grouping variable

Description

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

Usage

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

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

[Package viper version 1.27.1 Index]