g_getPlots: get 'ggplot's

View source: R/g_getPlots-deprecated.R

g_getPlotsR Documentation

get ggplots

Description

For the target compound loon plot, determines all the ggplots based on the compound loon plot.

Usage

g_getPlots(
  target,
  asAes = TRUE,
  selectedOnTop = TRUE,
  showNearestColor = FALSE
)

## Default S3 method:
g_getPlots(
  target,
  asAes = TRUE,
  selectedOnTop = TRUE,
  showNearestColor = FALSE
)

## S3 method for class 'l_pairs'
g_getPlots(
  target,
  asAes = TRUE,
  selectedOnTop = TRUE,
  showNearestColor = FALSE
)

Arguments

target

the (compound) loon plot

asAes

logical; set aesthetics attributes, i.e. 'color', 'fill' as variables (default TRUE) or general visual properties (FALSE). See details

selectedOnTop

logical and default is TRUE; whether to display the selected points on top. See details.

showNearestColor

logical and default is FALSE; if TRUE, the legend of color and fill (hex code) would be converted to the R built-in color names. For some hex codes, there are no precise matching. Consequently, these colors will be converted to the R built-in color names which are the "nearest" of these hex codes.

Value

a list of ggplots.

See Also

l_getPlots, g_getLocations


loon.ggplot documentation built on Nov. 13, 2022, 1:06 a.m.