Description Usage Arguments Author(s) References Examples
View source: R/plot_barcode_tree.R
Generate a plot created with ggplot2 to represent the evolution of connected components along threshold.
1 2 3 | plot_barcode_tree(components, x_variable = "threshold",
y_varaible = "plot_components", group_varaible = "id", size = 0.15,
alpha = 0.7)
|
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; |
size |
number; size of the line. |
alpha |
number; opacity of the line. |
Daniel Alcaide, daniel.alcaide@esat.kuleuven.be
Alcaide D, Aerts J. (2018) MCLEAN: Multilevel Clustering Exploration As Network. PeerJ Computer Science 4:e145 https://doi.org/10.7717/peerj-cs.145
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.