construct_from_seurat: construct a slice object from a Seurat object

View source: R/slice.R

construct_from_seuratR Documentation

construct a slice object from a Seurat object

Description

construct and initialize a slice object from a Seurat object

Usage

construct_from_seurat(
  obj,
  assay = "RNA",
  cellidentity = NULL,
  projname = NULL,
  scale = FALSE
)

Arguments

obj

A Seurat object containing sample data;

assay

The assay to extract expression matrix. Default is RNA

cellidentity

Either character indicating which meta data column to use or a character assay in the length of cell count ob the object

projname

A string describing the analysis; if not set, the default value is "SLICE-" with timestamp information

Value

the constructed and initialized slice object


minzheguo/SLICE documentation built on June 5, 2023, 11:56 a.m.