deleteApotcData {APackOfTheClones}R Documentation

Delete the results of an APackOfTheClones run

Description

[Stable]

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.

Usage

deleteApotcData(seurat_obj, run_id)

Arguments

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.

Value

The modified input seurat object

Examples

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


[Package APackOfTheClones version 1.2.0 Index]