converters: Converters

View source: R/converters.R

convertersR Documentation

Converters

Description

Functions to convert one single-cell format to another.

Usage

converters()

to_seurat(
  obj,
  as_h5seurat = FALSE,
  update = TRUE,
  save_path = tempfile(fileext = ".h5seurat"),
  verbose = TRUE
)

Arguments

obj

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

as_h5seurat

Convert to the h5Seurat class.

update

Ensure the object is updated to the latest version of Seurat.

save_path

Path to save the H5Seurat to.

verbose

Print messages.

Value

A Seurat or h5Seurat object.

Functions

  • to_seurat(): Convert any single-cell object to Seurat or h5Seurat format.

Examples

map_dt <- converters()
obj <- example_obj("cds")
obj2 <- to_seurat(obj)

bschilder/scKirby documentation built on April 22, 2024, 12:13 a.m.