View source: R/object_access.R
write_meta | R Documentation |
Function to write metadata to object
write_meta(object, ...)
## S3 method for class 'Seurat'
write_meta(object, meta, ...)
## S3 method for class 'SingleCellExperiment'
write_meta(object, meta, ...)
object |
object after tsne or umap projections and clustering |
... |
additional arguments |
meta |
new metadata dataframe |
object with newly inserted metadata columns
so <- so_pbmc()
obj <- write_meta(
object = so,
meta = seurat_meta(so)
)
sce <- sce_pbmc()
obj <- write_meta(
object = sce,
meta = object_data(sce, "meta.data")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.