PlotVariable {FlowSOM} | R Documentation |
Plot a variable for all nodes
PlotVariable( fsom, variable, variableName = "", colorPalette = FlowSOM_colors, lim = NULL, ... )
fsom |
FlowSOM object |
variable |
A vector containing a value for every cluster |
variableName |
Label to show on the legend |
colorPalette |
Colorpalette to use. Can be a function or a vector. |
lim |
Limits for the scale |
... |
Additional arguments to pass to |
Plot FlowSOM grid or tree, coloured by node values given in variable
PlotStars
, QueryStarPlot
,
PlotFlowSOM
, PlotLabels
,
PlotNumbers
, PlotMarker
,
PlotPies
, PlotSD
# Build FlowSOM model fileName <- system.file("extdata", "68983.fcs", package = "FlowSOM") flowSOM.res <- FlowSOM(fileName, compensate = TRUE, transform = TRUE, scale = FALSE, colsToUse = c(9, 12, 14:18), nClus = 10, seed = 1) # Plot some random values rand <- runif(flowSOM.res$map$nNodes) PlotVariable(flowSOM.res, variable = rand, variableName = "Random")