NNtoGraph: 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)
Value
Returns a Graph object
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