rotation: Rotations

Description Usage Arguments Value Author(s) Examples

View source: R/rotation.R

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.

GSEArot documentation built on May 2, 2019, 4:56 p.m.