NNtoGraph: Convert Neighbor class to an asymmetrical Graph class

View source: R/integration.R

NNtoGraphR Documentation

Convert Neighbor class to an asymmetrical Graph class

Description

Convert Neighbor class to an asymmetrical Graph class

Usage

NNtoGraph(nn.object, col.cells = NULL, weighted = FALSE)

Arguments

nn.object

A neighbor class object

col.cells

Cells names of the neighbors, cell names in nn.object is used by default

weighted

Determine if use distance in the Graph

Value

Returns a Graph object


Seurat documentation built on May 29, 2024, 4:20 a.m.