# NOT RUN {
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)
}
# }
Run the code above in your browser using DataLab