plot_elasticTree3D: Plot elastic trees computed by MERLoT.

View source: R/plot_additional.R

plot_elasticTree3DR Documentation

Plot elastic trees computed by MERLoT.

Description

This function shows elastic trees in low-dimensional spaces.

Usage

plot_elasticTree3D(
  ElasticTree,
  labels,
  colors,
  theta = 30,
  phi = 30,
  title = "",
  xlabel = "",
  ylabel = "",
  zlabel = ""
)

Arguments

ElasticTree

An elastic tree object computed by MERLoT.

labels

NULL or a vector of labels of all the samples, corresponding to colors.

colors

NULL or a vector of colors of all the samples, corresponding to labels.

theta

Angle of the plot.

phi

Angle of the plot.

title

Title.

xlabel

x-axis label.

ylabel

y-axis label.

zlabel

z-axis label.

Value

A scatter3D object in plot3D package.


keita-iida/ASURATBI documentation built on Feb. 16, 2023, 9:37 a.m.