to_se: Convert: ==> 'SummarizedExperiment'

View source: R/to_se.R

to_seR Documentation

Convert: ==> SummarizedExperiment

Description

Convert any object to SummarizedExperiment or SingleCellExperiment format.

Usage

to_se(obj, as_sce = FALSE, as_delayedarray = FALSE, verbose = TRUE)

Arguments

obj

A single-cell object supported by scKirby. See converters for a table of all supported conversions.

as_sce

Convert to a SingleCellExperiment format.

as_delayedarray

Convert to DelayedArray.

verbose

Print messages.

Value

A SummarizedExperiment or SingleCellExperiment object.

Examples

obj <- example_obj("seurat")
obj2 <- to_se(obj)

bschilder/scKirby documentation built on Oct. 2, 2024, 10:16 p.m.