expressionMatrixToDElist | R Documentation |
Transforms a matrix of gene expression values into a list of simple differential gene expression data frames. This is a reformatting utility for functions that operate on DE lists.
expressionMatrixToDElist(x, groups = colnames(x), minimumValue = NULL, AVG.FUN = mean)
x |
a numeric matrix of gene expression values, with rownames as the GeneIDs and column names for the SampleIDs |
groups |
a character vector of group identifiers of the same length as the column width of |
minimumValue |
a small linear offset to add to all expression values, before taking the log2 of the ratios, to prevent divide by zero and compensate for very low expression values |
AVG.FUN |
the math function for averaging gene expression per group |
Many functions operate on DE lists, as generated by various differential expression tools that operate on transcriptome file sets. This utility function generates the same format, but starting from a matrix of gene expression values.
A list of DE data frames, with a named element for each unique group in groups
.
Bob Morrison
geneSetAnalysis
for a typical example of a function that uses DE lists
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.