Learn R Programming

phateR (version 1.0.0)

print.phate: Print a PHATE object

Description

This avoids spamming the user's console with a list of many large matrices

Usage

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

Arguments

x

A fitted PHATE object

...

Arguments for print()

Examples

Run this code
# NOT RUN {
if (reticulate::py_module_available("phate")) {

# data(tree.data)
# We use a smaller tree to make examples run faster
data(tree.data.small)
phate.tree <- phate(tree.data.small$data)
print(phate.tree)
## PHATE embedding with elements
## $embedding : (3000, 2)
## $operator : Python PHATE operator
## $params : list with elements (data, knn, decay, t, n.landmark, ndim,
##                               gamma, npca, mds.method,
##                               knn.dist.method, mds.dist.method)

}
# }

Run the code above in your browser using DataLab