scaleGroups {viper} | R Documentation |
scaleGroups
compares each group vs. the remaining groups using a Student's t-test
scaleGroups(x, groups)
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 |
This function compute signatures using groups information
Numeric matrix of signatures (z-scores) with genes in rows and groups in columns
data(bcellViper, package="bcellViper") res <- scaleGroups(exprs(dset)[, 1:20], rep(1:4, rep(5, 4))) res[1:5, ]