View source: R/subsetMOCHAObject.R
renameCellTypes | R Documentation |
renameCellTypes
renameCellTypes
Allows you to modify the cell type names for a MOCHA SampleTileObject, from
the assay names, GRanges column names, and summarizedData (within the metadata), all at once.
renameCellTypes(MOCHAObject, oldNames, newNames)
MOCHAObject |
A RangedSummarizedExperiment, |
oldNames |
A list of cell type names that you want to change. |
newNames |
A list of new cell type names to replace the old names with. |
A MOCHA SampleTile object with new cell types.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.