
Remove the MAGIC imputed layer
remove_magic.RdRemove the MAGIC imputed layer
Usage
remove_magic(x, ...)
# S3 method for class 'ScCache'
remove_magic(x, ...)
## S7 method for class <bixverse::SingleCells>
remove_magic(x, ...)
## S7 method for class <bixverse::SingleCellsSubset>
remove_magic(x, ...)Examples
# drop the imputed layer again
sc <- demo_single_cells()
sc <- run_magic_sc(sc, features = get_gene_names(sc)[1:5], .verbose = FALSE)
sc <- remove_magic(sc)
is.null(get_magic(sc))
#> [1] TRUE
unlink(sc@dir_data, recursive = TRUE, force = TRUE)