networkplot | R Documentation |
networkplot()
is used to generate correlation networks from
spectral similarity data. An interactive visualisation can be produced using
plotly.
networkplot(distmat, interactive = FALSE, show_labels = FALSE, label_size = 1.5, highlight_annotated = FALSE, min_similarity = 0.1, exclude_singletons = FALSE)
distmat |
A distance matrix as generated by
|
interactive |
Logical, defaults to |
show_labels |
Logical, defaults to |
label_size |
Numeric, defaults to |
highlight_annotated |
Logical, defaults to |
min_similarity |
Numeric, defaults to |
exclude_singletons |
Logical, defaults to |
A network plot generated with the help of
network
, ggnet2
and, if
interactive, ggplotly
. Edge weights correspond to
spectral similarities.
load(file = system.file("extdata", "distmat.RData", package = "CluMSIDdata")) networkplot(distmat[1:50,1:50], show_labels = TRUE, exclude_singletons = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.