buildNhoodGraph: Build an abstracted graph of neighbourhoods for visualization

View source: R/buildNhoodGraph.R

buildNhoodGraphR 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


MarioniLab/miloR documentation built on June 4, 2024, 11:55 a.m.