renameApotcRun {APackOfTheClones} | R Documentation |
Rename an APackOfTheClones run
Description
A function to rename an APackOfTheClones run identified by its run id in a Seurat object.
Usage
renameApotcRun(seurat_obj, old_run_id, new_run_id)
Arguments
seurat_obj |
A Seurat object containing APackOfTheClones data - the output of RunAPOTC |
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. |
Value
A Seurat object with the APackOfTheClones run renamed.
Examples
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"
[Package APackOfTheClones version 1.2.0 Index]