Learn R Programming

FlowSOM (version 1.4.0)

PlotNumbers: Plot the index of each node

Description

Plot FlowSOM grid or tree, with in each node a number indicating it's index

Usage

PlotNumbers(fsom, view = "MST", main = NULL)

Arguments

fsom
FlowSOM object, as generated by BuildMST
view
Preferred view, options: "MST", "grid" or "tSNE" (if this option was selected while building the MST)
main
Title of the plot

Value

Nothing is returned. A plot is drawn in which each node is assigned a number

See Also

PlotMarker,PlotStars, PlotPies,PlotCenters, BuildMST

Examples

Run this code
# Read from file, build self-organizing map and minimal spanning tree
fileName <- system.file("extdata","lymphocytes.fcs",package="FlowSOM")
flowSOM.res <- ReadInput(fileName, compensate=TRUE,transform=TRUE,
                         scale=TRUE)
flowSOM.res <- BuildSOM(flowSOM.res,colsToUse=c(9,12,14:18))
flowSOM.res <- BuildMST(flowSOM.res)

# Plot the node IDs
PlotNumbers(flowSOM.res)

Run the code above in your browser using DataLab