anno_points.RdPoints Annotation
anno_points(x, which = c("column", "row"), border = TRUE, gp = gpar(), pch = 16, size = unit(2, "mm"), ylim = NULL, extend = 0.05, axis = TRUE, axis_param = default_axis_param(which), width = NULL, height = NULL, ...)
| x | The value vector. The value can be a vector or a matrix. The length of the vector or the number of rows of the matrix is taken as the number of the observations of the annotation. |
|---|---|
| which | Whether it is a column annotation or a row annotation? |
| border | Wether draw borders of the annotation region? |
| gp | Graphic parameters for points. The length of each graphic parameter can be 1, length of |
| pch | Point type. The length setting is the same as |
| size | Point size, the value should be a |
| ylim | Data ranges. By default it is |
| extend | The extension to both side of |
| axis | Whether to add axis? |
| axis_param | parameters for controlling axis. See |
| width | Width of the annotation. The value should be an absolute unit. Width is not allowed to be set for column annotation. |
| height | Height of the annotation. The value should be an absolute unit. Height is not allowed to be set for row annotation. |
| ... | Other arguments. |
An annotation function which can be used in HeatmapAnnotation.