Description Usage Arguments Value Examples
Add meta information of CYT
1 | addMetaData(object, meta.info, name = "NewCol", verbose = FALSE)
|
object |
A CYT object |
meta.info |
a vector, meta data of cell information |
name |
character, colname of 'meta.info' |
verbose |
logical. Whether to print calculation progress. |
A CYT object
1 2 3 4 5 6 7 8 9 | cyt.file <- system.file("extdata/cyt.rds", package = "CytoTree")
cyt <- readRDS(file = cyt.file)
plot.meta <- fetchPlotMeta(cyt)
meta.info <- 1:nrow(plot.meta)
names(meta.info) <- plot.meta$cell
cyt <- addMetaData(cyt, meta.info = meta.info, name = "MyInformation")
plot.meta <- fetchPlotMeta(cyt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.