Adds custom annotations to a single panel on the ggbrain plot
Details
For annotation coordinates such as x
, y
, or xmin
, you may pass in a number. In this case, the value specifies the pixel
position along the relevant axis (e.g., x=26
). In addition, convenience values of 'left', 'right', and 'middle' can be used
for the x axis, and 'top', 'bottom', and 'middle' for the y axis.
Finally, or 'q[1-100]'
can be used to look up the quantile-based positions along the relevant axis. For example,
x="q25"
would position the annotation at the 25% mark along the x axis.
N.B. This function only adds a single annotation on a single panel!