AddNodes: AddNodes

View source: R/5_plotFunctions.R

AddNodesR Documentation

AddNodes

Description

Function plots the nodes

Usage

AddNodes(
  p,
  nodeInfo = NULL,
  values = NULL,
  lim = NULL,
  colorPalette = NULL,
  fillColor = "white",
  showLegend = TRUE,
  label = "",
  ...
)

Arguments

p

ggplot object

nodeInfo

Dataframe with for every node an x, y and size value, if null the dataframe from the ggplot object will be reused.

values

Values used for coloring the nodes. Default = NULL, in which case all nodes are filled in fillColor.

lim

The limits of the color scale, not used if values = NULL.

colorPalette

Color palette for color in nodes, not used if values = NULL. A vector of colors or a color function.

fillColor

Fixed fill for node colors, default = white.

showLegend

Boolean, default = TRUE.

label

Title for the legend.

...

Additional arguments to pass to geom_circle

Value

Returns nothing, but plots the nodes

See Also

PlotFlowSOM, PlotMarker, PlotVariable, AddLabels, AddBackground, AddPies, AddStars, AddStarsPies


saeyslab/FlowSOM documentation built on July 6, 2024, 10:59 a.m.