plotNhoodGraphDA {miloR} | R Documentation

## Plot Milo results on graph of neighbourhood

### Description

Visualize log-FC estimated with differential nhood abundance testing on embedding of original single-cell dataset.

Visualize grouping of neighbourhoods obtained with `groupNhoods`

### Usage

    plotNhoodGraphDA(x, milo_res, alpha = 0.05, res_column = "logFC", ...)

    plotNhoodGroups(x, milo_res, show_groups = NULL, ...)

### Arguments

`x` | A `Milo` object
`milo_res` | a data.frame of milo results containing the `nhoodGroup` column
`alpha` | significance level for Spatial FDR (default: 0.05)
`res_column` | which column of `milo_res` object to use for color (default: logFC)
`...` | arguments to pass to `plotNhoodGraph`
`show_groups` | a character vector indicating which groups to plot all other neighbourhoods will be gray

### Value

a `ggplot` object

a `ggplot` object

### Author(s)

Emma Dann

Emma Dann

### Examples

    NULL

    NULL

[Package miloR version 1.2.0 Index]