View source: R/distancematrix_mds.R
| MDSplot | R Documentation |
MDSplot() is used to generate multidimensional scaling plots from
spectral similarity data. An interactive visualisation can be produced using
plotly.
MDSplot(distmat, interactive = FALSE, highlight_annotated = FALSE, ...)
distmat |
A distance matrix as generated by
|
interactive |
Logical, defaults to |
highlight_annotated |
Logical, defaults to |
... |
Additional arguments passed to |
An MDS plot generated with the help of
cmdscale,
ggplot and, if interactive,
ggplotly.
load(file = system.file("extdata",
"distmat.RData",
package = "CluMSIDdata"))
MDSplot(distmat, highlight_annotated = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.