Visualize graph of neighbourhoods

plotNhoodGraph(x, layout = "UMAP", colour_by = NA, subset.nhoods = NULL, ...)

Arguments

x

A Milo object

layout

this can be (a) a character indicating the name of the reducedDim slot in the Milo object to use for layout (default: 'UMAP') (b) an igraph layout object

colour_by

this can be a data.frame of milo results or a character corresponding to a column in colData

subset.nhoods

A logical, integer or character vector indicating a subset of nhoods to show in plot (default: NULL, no subsetting)

...

arguments to pass to ggraph

Value

a ggplot-class object

Examples

NULL
#> NULL