View source: R/Seurat.Utils.Metadata.R
addMetaDataSafe | R Documentation |
Wrapper function for AddMetaData
that includes additional checks and assertions.
addMetaDataSafe(
obj,
metadata,
col.name,
overwrite = FALSE,
verbose = FALSE,
strict = TRUE
)
obj |
Seurat object to which metadata will be added. |
metadata |
The metadata to be added. |
col.name |
The name of the new metadata column. |
overwrite |
Logical; if TRUE, overwrites the existing column. |
verbose |
Logical; if TRUE, prints additional information. |
strict |
... |
Modified Seurat object with additional metadata.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.