Learn R Programming

phateR (version 1.0.7)

plot.phate: Plot a PHATE object in base R

Description

Plot a PHATE object in base R

Usage

# S3 method for phate
plot(x, ...)

Arguments

x

A fitted PHATE object

...

Arguments for plot()

Examples

Run this code
# 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