.plotManifold_def {CellTrails} | R Documentation

## DEF: Visualizing the manifold

### Description

Plots approximation of sample embedding in latent space in two dimensions

### Usage

    .plotManifold_def(
      X,
      y,
      name,
      g = NULL,
      weights = NULL,
      axis_label = "",
      colors = c("pretty", "bw"),
      type = c("raw", "surface.fit", "surface.se"),
      samples_only = FALSE,
      setND = FALSE,
      alpha = 0.1
    )

### Arguments

`X` | Ordination of data points
`y` | Values to visualize
`name` | Label for the figure legend
`g` | The trajectory graph
`weights` | States along the trajectory
`axis_label` | Label prefix for each axis
`colors` | Either the color ramp is colorized or black/white
`type` | Type of visualization
`samples_only` | Does not show the whole surface, but colorizes only the samples
`setND` | Indicates if a '0' value should be set to 'ND' in the figure legend
`alpha` | Color param

### Value

A `ggplot` object

### Author(s)

Daniel C. Ellwanger

[Package CellTrails version 1.12.0 Index]