plot.phate {phateR} | R Documentation |
Plot a PHATE object in base R
Description
Plot a PHATE object in base R
Usage
## S3 method for class 'phate'
plot(x, ...)
Arguments
x |
A fitted PHATE object |
... |
Arguments for plot() |
Examples
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)
}
[Package phateR version 1.0.7 Index]