plotNhoodGraph | R Documentation |
Visualize graph of neighbourhoods
plotNhoodGraph(
x,
layout = "UMAP",
colour_by = NA,
subset.nhoods = NULL,
size_range = c(0.5, 3),
node_stroke = 0.3,
is.da = FALSE,
highlight.da = FALSE,
...
)
x |
A |
layout |
this can be (a) a character indicating the name of the |
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). This is necessary if |
size_range |
a numeric vector indicating the range of node sizes to use for plotting (to avoid overplotting in the graph) |
node_stroke |
a numeric indicating the desired thickness of the border around each node |
is.da |
logical scalar that tells plotNhoodGraph to order nhoods by |LFC| which can help to visually emphasise which nhoods are DA. |
highlight.da |
logical or numeric scalar that emphasises the DA nhoods in the layout by adjusting the transparency
of the non-DA nhoods. Can only be used if |
... |
arguments to pass to |
a ggplot-class
object
Emma Dann
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.