average {geneExpression} R Documentation

calculate average value of the gene expression for

Description

each sample group.

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

Usage

average(matrix,
    sampleinfo = NULL);

Arguments

matrix

a gene expression matrix. [as Matrix]

sampleinfo

The sample group data. [as SampleInfo]

Details

Authors

phenotype_kit

Value

this function return value is determined based on the sampleinfo parameter: 1. for sampleinfo not nothing, a matrix with sample group as the sample feature data will be returns 2. for missing sampleinfo data, a numeric vector of average value for each gene feature will be returns

clr value class

Examples


[Package geneExpression version 1.0.0.0 Index]