Skip to contents

Saves the complete state stored in seurat_obj@misc[[misc_name]]. The saved RDS can later be attached to another compatible Seurat object using LoadAlertSystem() without recomputing pathway scores.

Usage

SaveAlertSystem(seurat_obj, file, misc_name = "AlertSystem", overwrite = FALSE)

Arguments

seurat_obj

A Seurat object containing an Alert System state.

file

Destination .rds path.

misc_name

Name of the @misc entry. Default is "AlertSystem".

overwrite

Whether an existing file may be replaced.

Value

Invisibly returns the normalized output path.