View source: R/ApotcIndexing.R
containsApotcRun | R Documentation |
A convenience function to check for the existence of an APackOfTheClones run with its run id, regardless of if any run has been made
containsApotcRun(seurat_obj, run_id)
seurat_obj |
a seurat object |
run_id |
character. The id of the associated ApotcRun. |
A logical indicating whether the run exists.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.