-
Notifications
You must be signed in to change notification settings - Fork 231
/
Copy pathupset_right_annotation.Rd
45 lines (41 loc) · 1.6 KB
/
upset_right_annotation.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
\name{upset_right_annotation}
\alias{upset_right_annotation}
\title{
Default UpSet Right Annotation
}
\description{
Default UpSet Right Annotation
}
\usage{
upset_right_annotation(m,
gp = gpar(fill = "black"),
width = unit(ifelse(set_on_rows, 2, 3), "cm"),
show_annotation_name = TRUE,
annotation_name_gp = gpar(),
annotation_name_offset = NULL,
annotation_name_side = "bottom",
annotation_name_rot = NULL,
...)
}
\arguments{
\item{m}{A combination matrix which is as same as the one for \code{\link{UpSet}}.}
\item{gp}{Graphic parameters for bars.}
\item{width}{Width of the right annotation.}
\item{show_annotation_name}{Whether show annotation names?}
\item{annotation_name_gp}{Graphic parameters for anntation names.}
\item{annotation_name_offset}{Offset to the annotation name, a \code{\link[grid]{unit}} object.}
\item{annotation_name_side}{Side of the annotation name.}
\item{annotation_name_rot}{Rotation of the annotation name, it can only take values in \code{c(00, 90, 180, 270)}.}
\item{...}{Passed to \code{\link{anno_barplot}}, e.g. to set \code{add_numbers}.}
}
\details{
The default right annotation is actually barplot implemented by \code{\link{anno_barplot}}. For
how to set the right annotation or left annotation in \code{\link{UpSet}}, please refer to \code{\link{UpSet}}.
If you want to use \code{\link{decorate_annotation}} function, the annotation name for the "sets"
is \code{set_size} and the annotation name for the "intersection sets" are \code{intersection_size}
and if under the union mode, it is \code{union_size}.
}
\examples{
# There is no example
NULL
}