Description Usage Arguments Value Note Author(s) Examples
View source: R/utility-functions.R
This function converts the featureNames of an eSet-derived object, either by applying a user-specified translation function (e.g. to remove pre- or suffices) or by refering to the annotation slot of the object to locate the corresponding Bioconductor annotation package.
In cases where multiple features map to the same target identifier, scores are summarized by applying 'summary.fun' (default: mean). For eSet-like object with multiple assayDataElements, each element is summarized separately.
1 2 3 4 5 6 |
eset |
An eSet-like object. |
translation.fun |
A function that will be applied to the results of applying the 'featureNames' method to the eSet. If not 'NULL', this parameter takes precendence and the 'get' parameter will be ignored. |
get |
A character vector specifying the gene identifier universe to be retrieved from the Bioconductor annotation package. |
verbose |
Logical, should basid mapping statistics be returned ? |
summary.fun |
A function that will be applied to the scores after featureName mapping (default: mean). |
An eSet object with the same number of samples as the original and one row for each unique new featureName (after mapping & summary).
For large eSet objects, applying 'summary.fun' can be time-consuming. Other strategies, e.g. based on selecting a single probe for each gene based on cross-sample variability are available in the genefilter package.
Thomas Sandmann, sandmann.thomas@gene.com
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.