aggregate_samples {geneExpression} R Documentation

calculate the sum value of the gene expression for each sample group.

Description

<br /> this method can be apply for reduce data size when create some plot for <br /> visualize the gene expression patterns across the sample groups.

Usage

aggregate_samples(matrix, ...);

Arguments

matrix

[as Matrix]

groups

[as list]

env

[as Environment]

Details

Authors

phenotype_kit

Value

a new expression matrix object that each sample column is the sum value of the sample columns in the corresponding sample group;

this function returns a R# error message object if the given sample group information is empty.

clr value class

Examples


[Package geneExpression version 1.0.0.0 Index]