View source: R/standardise_obs.R
standardise_obs | R Documentation |
Standardise metadata for any single-cell object.
standardise_obs(
obj,
save_path = NULL,
species,
standardise_species = TRUE,
method = "gprofiler",
level_cols = list(),
extra_metadata = NULL,
return_obs = FALSE,
verbose = TRUE
)
obj |
A single-cell object supported by scKirby. See converters for a table of all supported conversions. |
save_path |
Path to save the modified |
species |
The name of the species that the single-cell |
standardise_species |
Standardise the name using map_species. |
method |
R package to use for gene mapping:
|
level_cols |
Names of metadata columns that indicate the hierarchically
organized cell type annotation levels.
Each level can be a combination of other columns, e.g.:
|
extra_metadata |
Extra metadata to add to obs. Can be a:
|
return_obs |
Return just standardised |
verbose |
Print messages. |
obj <- example_obj()
obj2 <- standardise_obs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.