Description Usage Arguments Examples
Plot a PHATE object in base R
1 2 |
x |
A fitted PHATE object |
... |
Arguments for plot() |
1 2 3 4 5 6 7 8 9 10 | if (reticulate::py_module_available("phate")) {
library(graphics)
# data(tree.data)
# We use a smaller tree to make examples run faster
data(tree.data.small)
phate.tree <- phate(tree.data.small$data)
plot(phate.tree, col=tree.data.small$branches)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.