add_anchor function

A ggproto for drawing anchor points

A ggproto for drawing anchor points

This is a wrapper function used by explore_space_pca() and should be be called directly by the user

add_anchor(dt, anchor_size = 3, anchor_alpha = 0.5, anchor_color = NULL, ...)

Arguments

  • dt: A data object from the running the optimisation algorithm in guided tour
  • anchor_size: numeric; the size of the anchor points
  • anchor_alpha: numeric; the alpha of the anchor points
  • anchor_color: the variable to be coloured by
  • ...: other aesthetics inherent from explore_space_pca()

Returns

a wrapper for drawing anchor points in explore_space_pca()

See Also

Other draw functions: add_anno(), add_dir_search(), add_end(), add_interp(), add_interp_last(), add_interrupt(), add_search(), add_space(), add_start(), add_theo()

  • Maintainer: H. Sherry Zhang
  • License: MIT + file LICENSE
  • Last published: 2024-06-23