- dat
Either A) a string indicating a built-in dataframe with interval
data from the ICS ("periods", "epochs", "stages", "eons", or "eras"), B) a
string indicating a timescale from macrostrat (see list here:
https://macrostrat.org/api/defs/timescales?all), or C) a custom
data.frame of time interval boundaries (see Details).
- theta
variable to map angle to (x
or y
)
- start
Offset of starting point from 12 o'clock in radians. Offset
is applied clockwise or anticlockwise depending on value of direction
.
- end
Position from 12 o'clock in radians where plot ends, to allow
for partial polar coordinates. The default, NULL
, is set to
start + 2 * pi
.
- expand
If TRUE
, the default, adds a small expansion factor to
the limits to prevent overlap between data and axes. If FALSE
, limits
are taken directly from the scale.
- direction
1, clockwise; -1, anticlockwise
- reverse
A string giving which directions to reverse. "none"
(default) keep directions as is. "theta"
reverses the angle and "r"
reverses the radius. "thetar"
reverses both the angle and the radius.
- r_axis_inside, rotate_angle
![[Deprecated]](figures/lifecycle-deprecated.svg?package=deeptime&version=2.2.0)
- inner.radius
A numeric
between 0 and 1 setting the size of a
inner radius hole.
- fill
The fill color of the background. The default is to use the
color
column included in dat
. If a custom dataset is provided with
dat
without a color
column and without fill, a greyscale will be used.
Custom fill colors can be provided with this option (overriding the color
column) and will be recycled if/as necessary.
- alpha
The transparency of the fill colors.
- lwd
Line width for lines between intervals. Set to NULL
to remove
lines.
- color
The color of the lines between intervals.
- lty
Line type for lines between intervals.
- lab
Whether to include labels. Requires the geomtextpath
package.
- abbrv
If including labels, whether to use abbreviations instead of
full interval names.
- skip
A vector of interval names indicating which intervals should not
be labeled. If abbrv
is TRUE
, this can also include interval
abbreviations.
- neg
Set this to true if your theta-axis is using negative values. This
is usually true if you are using ggtree
.
- prop
This is the rotational proportion of the background that the
scale takes up.
- textpath_args
A list of named arguments to provide to
geomtextpath::geom_textpath()
. Only used if lab
is set to TRUE
.
Useful arguments include color
(font color), family
(font family),
fontface
, hjust
(radial adjustment), and size
(font size).
- clip
Should drawing be clipped to the extent of the plot panel? A
setting of "on"
(the default) means yes, and a setting of "off"
means no. For details, please see coord_cartesian()
.