Skip to contents

Creates a faceted plot of 2D interval projections from multiple DR methods, displaying intervals as rectangles.

Usage

plot_projections(projections, labels = NULL, obs_labels = NULL)

Arguments

projections

An idr_projections object or a named list.

labels

A factor or character vector of class labels.

obs_labels

Optional character vector of observation labels for text.

Value

A ggplot object.

Examples

if (FALSE) { # \dontrun{
data(cars_mm)
x <- standardize(cars_mm)
proj <- run_idr(x)
plot_projections(proj, labels = cars_mm$labels)
} # }