Description Usage Arguments Details Value Author(s) Examples
View source: R/getSampleLevelGeneData.R
Given a datsetObject
, and a set of target genes, this function will summarize probe-level data to gene-level data for the target genes. Returns a data frame with only the genes of interest, for each sample in the dataset.
1 | getSampleLevelGeneData(datasetObject, geneNames)
|
datasetObject |
a Dataset object that is used to extract sample level data (At least, must have a |
geneNames |
A vector of geneNames |
Summarizes probe-level data to gene-level data, using the mean of the probes, according to the probe:gene mapping in the $keys
item in the dataset object. This is done only for the genes in the filter object.
Returns a data frame with expression levels of only the genes of interest, for each sample in the dataset. Mostly used internally, but has been exposed to the user to allow advanced functionality on external datasets if desired.
Timothy E. Sweeney, Winston A. Haynes
1 2 3 | sampleResults <- getSampleLevelGeneData(datasetObject=tinyMetaObject$originalData[[1]],
geneNames=c(tinyMetaObject$filterResults[[1]]$posGeneNames,
tinyMetaObject$filterResults[[1]]$negGeneNames))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.