View source: R/ApotcIndexing.R
renameApotcRun | R Documentation |
A function to rename an APackOfTheClones run identified by its run id in a Seurat object.
renameApotcRun(seurat_obj, old_run_id, new_run_id)
seurat_obj |
A Seurat object containing APackOfTheClones data - the
output of |
old_run_id |
Character. The current id of the APackOfTheClones run to be renamed. |
new_run_id |
Character. The new id to assign to the APackOfTheClones run. |
A Seurat object with the APackOfTheClones run renamed.
pbmc <- RunAPOTC(
seurat_obj = get(data("combined_pbmc")),
reduction_base = "umap",
clonecall = "strict",
run_id = "run1",
verbose = FALSE
)
pbmc <- renameApotcRun(pbmc, "run1", "new_run")
# Now "run1" has been renamed to "new_run"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.