Description Usage Arguments Value Examples
View source: R/seurat_wrapper.R
Function to write metadata to object
1 2 3 4 5 6 7 8 9 10 | write_meta(object, ...)
## S3 method for class 'seurat'
write_meta(object, meta, ...)
## 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
1 2 3 4 5 6 7 8 9 10 11 12 | obj <- write_meta(
object = s_small,
meta = seurat_meta(s_small)
)
obj <- write_meta(
object = s_small3,
meta = seurat_meta(s_small3)
)
obj <- write_meta(
object = sce_small,
meta = object_data(sce_small, "meta.data")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.