Documentation

exprprofvar

Calculate variance of gene expression profiles

Syntax

Variance = exprprofvar(Data)

exprprofvar(..., 'PropertyName', PropertyValue,...)
exprprofvar(..., 'ShowHist', ShowHistValue)

Arguments

Data

DataMatrix object or numeric matrix of expression values, where each row corresponds to a gene.

ShowHistValue

Controls the display of a histogram with variance data. Default is:

  • false — When output values are specified.

  • true — When output values are not specified.

Description

Variance = exprprofvar(Data) calculates the variance of each expression profile in Data, a DataMatrix object or numeric matrix of expression values, where each row corresponds to a gene. If you do not specify output arguments, this function displays a histogram bar plot of the range.


exprprofvar(..., 'PropertyName', PropertyValue,...)
defines optional properties using property name/value pairs.

exprprofvar(..., 'ShowHist', ShowHistValue) controls the display of a histogram with range data. Choices for ShowHistValue are true or false.

Examples

  1. Load the MAT-file, provided with the Bioinformatics Toolbox™ software, that contains yeast data. This MAT-file includes three variables: yeastvalues, a matrix of gene expression data, genes, a cell array of GenBank® accession numbers for labeling the rows in yeastvalues, and times, a vector of time values for labeling the columns in yeastvalues

    load yeastdata
  2. Calculate the variance of expression profiles for yeast data as gene expression changes during the metabolic shift from fermentation to respiration. Display a histogram of the data.

    datavar = exprprofvar(yeastvalues,'ShowHist',true);
Was this topic helpful?