info_primitive: Info

Description Usage Arguments

View source: R/info.R

Description

Primitive to create informational annotations.

Usage

1
2
3
4
5
6
7
8
9
info_primitive(
  g,
  ...,
  type = c("text", "image", "arc", "line", "region", "regionFilter", "dataMarker",
    "dataRegion", "shape", "html"),
  style = NULL,
  data = NULL,
  asp = NULL
)

Arguments

g

An object of class g2r or g2Proxy as returned by g2() or g2_proxy().

...

Options to pass to the figure, including asp(), and adjust(), active(), selected(), and config(), other key value pairs of are passed to style.

type

Type of annotation.

style

Style list to pass to the annotation.

data

Optional data.frame to use with the asp().

asp

Aspects, if NULL then the function retrieves them from the ....


devOpifex/g2r documentation built on Jan. 16, 2022, 12:36 a.m.