summarizeMolecularProfiles,RadioSet-method | R Documentation |
Given a RadioSet with molecular data, this function will summarize the data into one profile per cell line, using the chosed summary.stat. Note that this does not really make sense with perturbation type data, and will combine experiments and controls when doing the summary if run on a perturbation dataset.
## S4 method for signature 'RadioSet'
summarizeMolecularProfiles(
object,
mDataType,
cell.lines,
features,
summary.stat = c("mean", "median", "first", "last", "and", "or"),
fill.missing = TRUE,
summarize = TRUE,
verbose = TRUE
)
object |
|
mDataType |
|
cell.lines |
|
features |
|
summary.stat |
|
fill.missing |
|
summarize |
A flag which when set to FALSE (defaults to TRUE) disables summarizing and returns the data unchanged as a ExpressionSet |
verbose |
|
matrix
An updated RadioSet with the molecular data summarized
per cell line.
data(clevelandSmall)
clevelandSmall <- summarizeMolecularProfiles(clevelandSmall,
mDataType = "rna", cell.lines=sampleNames(clevelandSmall),
summary.stat = 'median', fill.missing = TRUE, verbose=TRUE)
clevelandSmall
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.