| plot.mcml | R Documentation |
Plots an MCML network. When cograph is available, delegates to
cograph::plot_mcml() which renders a two-layer visualization
(macro summary on top, within-cluster detail on bottom). Otherwise,
converts to a netobject_group and plots each layer as a
separate panel.
## S3 method for class 'mcml'
plot(x, ...)
x |
An |
... |
Additional arguments passed to |
The input object, invisibly.
## Not run:
seqs <- data.frame(
T1 = sample(LETTERS[1:6], 30, TRUE),
T2 = sample(LETTERS[1:6], 30, TRUE),
T3 = sample(LETTERS[1:6], 30, TRUE)
)
clusters <- list(G1 = c("A", "B", "C"), G2 = c("D", "E", "F"))
cs <- build_mcml(seqs, clusters)
plot(cs)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.