View source: R/ApotcIndexing.R
deleteApotcData | R Documentation |
A convenience function to erase all data associated with a particular run, including the ApotcData and command in seurat_obj@command. The run_id would be no longer accessible afterwards.
deleteApotcData(seurat_obj, run_id)
seurat_obj |
a seurat object that has had RunAPOTC ran on it before in order of the functions being called. |
run_id |
character. The id of the associated ApotcRun. |
The modified input seurat object
pbmc <- RunAPOTC(
seurat_obj = get(data("combined_pbmc")),
reduction_base = "umap",
clonecall = "strict",
run_id = "run1",
verbose = FALSE
)
getApotcDataIds(pbmc)
#> [1] "run1"
# delete the data
pbmc <- deleteApotcData(pbmc, "run1")
getApotcDataIds(pbmc)
#> NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.