www.gusucode.com > bioinfo 案例源码程序 matlab代码 > bioinfo/CalculateRangeOfGeneExpressionProfilesExample.m

    %% Calculate range of gene expression profiles
% This example shows how to calculate the range of given gene expression
% profiles.

% Copyright 2015 The MathWorks, Inc.


%%
% Load the MAT-file, provided with the Bioinformatics Toolbox(TM) software,
% that contains yeast data. This MAT-file includes three variables:
% |yeastvalues| , a matrix of gene expression data, |genes| , a cell array
% of GenBank(R) accession numbers for labeling the rows in |yeastvalues| ,
% and |times| , a vector of time values for labeling the columns in
% |yeastvalues|.
load yeastdata

%%
% Calculate the range of expression profiles for yeast data as gene
% expression changes during the metabolic shift from fermentation to
% respiration. And display a histogram of the data.
range = exprprofrange(yeastvalues,'ShowHist',true);