plot_barcode_tree: Plot for barcode-tree

Description Usage Arguments Author(s) References Examples

View source: R/plot_barcode_tree.R

Description

Generate a plot created with ggplot2 to represent the evolution of connected components along threshold.

Usage

1
2
3
plot_barcode_tree(components, x_variable = "threshold",
  y_varaible = "plot_components", group_varaible = "id", size = 0.15,
  alpha = 0.7)

Arguments

components

data frame; output from barcode_tree function

x_variable

string defining the x axis of the plot. This dimension is reserved for the threshold.

y_varaible

string defining the y axis of the plot. This dimension is reserved for the id of connected components.

group_varaible

stirng defining the grouping variable of the data elements; id by default

size

number; size of the line.

alpha

number; opacity of the line.

Author(s)

Daniel Alcaide, daniel.alcaide@esat.kuleuven.be

References

Alcaide D, Aerts J. (2018) MCLEAN: Multilevel Clustering Exploration As Network. PeerJ Computer Science 4:e145 https://doi.org/10.7717/peerj-cs.145

Examples

1
2
3
data("synthetic_distances")
barcode_tree = barcode_tree( distance_matrix = synthetic_distances, sequence = seq(from=100,to=300,by=25))
plot_barcode_tree(barcode_tree)

danielalcaide/mclean documentation built on May 28, 2019, 7:51 p.m.