View source: R/InitializecisTopic.R
addCellMetadata | R Documentation |
Add cells metadata to a given cisTopic object
addCellMetadata(object, cell.data, ...)
object |
cisTopic object |
cell.data |
Additional metadata to add to the cisTopic object. It should be a data frame were the rows are cells and the columns data fields. All cells included in the cisTopic object must be included in this dataframe (additional cells will be ignored). |
... |
Ignored |
Returns a cisTopic object with the new data added in object@cell.data.
cisTopic_mel <- createcisTopicObject(count.matrix = count.matrix)
cisTopic_mel <- addCellMetadata(cisTopic_mel, cell.data = cell.data)
cisTopic_mel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.