Skip to contents

Prepare data from a Seurat object for NOVA analysis.

Usage

SeuratToNOVA(
  object,
  assay = NULL,
  slot = "data",
  cluster_col = NULL,
  min_cells = 3,
  min_features = 0
)

Arguments

object

Seurat object

assay

Assay name

slot

Data slot

cluster_col

Column for cluster identity

min_cells

Minimum cells per cluster

min_features

Minimum features per cell (0 = no filter)

Value

List with expression matrix and cluster annotation

Examples

if (FALSE) { # \dontrun{
nova_input <- SeuratToNOVA(seurat_obj)
nova_input <- SeuratToNOVA(seurat_obj, cluster_col = "cell_type")
} # }