gen_axes: Generate Axes for Projection

View source: R/projection.R

gen_axesR Documentation

Generate Axes for Projection

Description

Generate Axes for Projection

Usage

gen_axes(
  proj,
  limits = 1,
  axis_pos_x = NULL,
  axis_pos_y = NULL,
  axis_labels,
  threshold = 0
)

Arguments

proj

A projection matrix or data frame.

limits

Numeric value specifying axis limits (default: 1).

axis_pos_x

Optional numeric value for x-axis position.

axis_pos_y

Optional numeric value for y-axis position.

axis_labels

A vector of axis labels.

threshold

A numeric threshold value (default: 0).

Value

A modified projection with added axis elements.

Examples

projection_df <- cbind(
c(-0.17353,-0.02906,0.19857,0.00037,0.00131,-0.05019,0.03371),
c(-0.10551,0.14829,-0.02063,0.02658,-0.03150,0.19698,0.00044))

gen_axes(proj = projection_df, axis_labels = paste0("x", 1:7))

quollr documentation built on Aug. 8, 2025, 6:08 p.m.