buildNhoodGraph {miloR} | R Documentation

## Build an abstracted graph of neighbourhoods for visualization

### Description

Build an abstracted graph of neighbourhoods for visualization

### Usage

    buildNhoodGraph(x, overlap = 1)

### Arguments

`x` | A `Milo` object with a non-empty `nhoods` slot.
`overlap` | A numeric scalar that thresholds graph edges based on the number of overlapping cells between neighbourhoods.

### Details

This constructs a weighted graph where nodes represent neighbourhoods and edges represent the number of overlapping cells between two neighbourhoods.

### Value

A `Milo` object containg an `igraph` graph in the `nhoodGraph` slot.

### Author(s)

Emma Dann

### Examples

    NULL

[Package miloR version 1.2.0 Index]