NNtoGraph {Seurat}R 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


[Package Seurat version 5.1.0 Index]