plot: Plot a PHATE object in base R

Description Usage Arguments Examples

Description

Plot a PHATE object in base R

Usage

1
2
## S3 method for class 'phate'
plot(x, ...)

Arguments

x

A fitted PHATE object

...

Arguments for plot()

Examples

 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)

}

Example output

Loading required package: Matrix
Warning message:
In system2(command = python, args = shQuote(config_script), stdout = TRUE,  :
  running command ''/usr/bin/python3' '/usr/lib/R/site-library/reticulate/config/config.py' 2>/dev/null' had status 126

phateR documentation built on Feb. 12, 2021, 5:12 p.m.