to_graph: To graph

View source: R/to_graph.R

to_graphR Documentation

To graph

Description

Convert a matrix to a Graph object (using as.Graph).

Usage

to_graph(obj, verbose = TRUE)

Arguments

obj

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

verbose

Print messages.

Value

A sparse as.Graph object.

Examples

obj <- example_obj("matrix")
obj2 <- to_graph(obj)

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