plot_gng: Produce a FlowSOM-like plot

Description Usage Arguments Examples

Description

Produce a FlowSOM-like plot

Usage

1
2
3
plot_gng(gng_fit, plot_labels = NULL,
  plot_expression = gng_fit$node_space, max_size = 0.05,
  max_size_legend = 0.15)

Arguments

gng_fit

The GNG produced by the gng function

plot_labels

Labels for the training samples. Is NULL, by default.

plot_expression

Whether or not to plot the expression.

max_size

The maximum size of visualised nodes

max_size_legend

The maximum size of the legend nodes.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
data(iris)
gng_out <- gng(
  x = as.matrix(iris[,1:4]),
  max_iter = 20000,
  epsilon_b = 0.05,
  epsilon_n = 0.001,
  age_max = 200,
  max_nodes = 30,
  lambda = 200,
  alpha = 0.5,
  beta = 0.99,
  assign_cluster = TRUE,
  verbose = TRUE,
  make_logs_at = NULL,
  cpp = TRUE
)
plot_gng(gng_out, iris[,5], max_size = 0.05)

rcannood/gng documentation built on May 31, 2019, 7:54 a.m.