Rotations

Description

Rotates a gene expression matrix as a step for generating a null distribution for a given gene set.

Usage

1
rotation(Y, method)

Arguments

Y

Matrix with expression values, where rows are samples and columns are genes.

method

The method to be used for rotation, either 1 (all rotated genes have expectation 0) or 2 (non-zero means allowed)

Value

X

Matrix with rotated expression values.

Author(s)

Guro D\orum

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--    or do  help(data=index)  for the standard data sets.