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