View source: R/ApotcIndexing.R
getLastApotcDataId | R Documentation |
A convenience function to get the object id of the most recent valid
RunAPOTC()
run, to be used by APOTCPlot()
and AdjustAPOTC
getLastApotcDataId(seurat_obj)
seurat_obj |
a seurat object that has had RunAPOTC ran on it before in order of the functions being called. |
a character of the object id of the last RunAPOTC()
call
# first run
pbmc <- RunAPOTC(
seurat_obj = get(data("combined_pbmc")),
reduction_base = "umap",
clonecall = "strict",
verbose = FALSE
)
getLastApotcDataId(pbmc)
#> [1] "umap;CTstrict;_;_"
# second run with a different clonecall
pbmc <- RunAPOTC(
seurat_obj = pbmc,
reduction_base = "umap",
clonecall = "gene",
verbose = FALSE
)
getLastApotcDataId(pbmc)
#> [1] "umap;CTgene;_;_"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.