containsApotcRun {APackOfTheClones} | R Documentation |
Check for the existence of an APackOfTheClones run with its run id
Description
A convenience function to check for the existence of an APackOfTheClones run with its run id, regardless of if any run has been made
Usage
containsApotcRun(seurat_obj, run_id)
Arguments
seurat_obj |
a seurat object |
run_id |
character. The id of the associated ApotcRun. |
Value
A logical indicating whether the run exists.
Examples
pbmc <- RunAPOTC(
seurat_obj = get(data("combined_pbmc")),
reduction_base = "umap",
clonecall = "strict",
run_id = "run1",
verbose = FALSE
)
containsApotcRun(pbmc, "run1")
#> [1] TRUE
containsApotcRun(pbmc, "run2")
#> [1] FALSE
[Package APackOfTheClones version 1.2.0 Index]