upset_top_annotation: Default UpSet Top Annotation

Description Usage Arguments Details Examples

Description

Default UpSet Top Annotation

Usage

1
2
3
4
5
6
7
8
9
upset_top_annotation(m,
    gp = gpar(fill = "black"),
    height = unit(ifelse(set_on_rows, 3, 2), "cm"),
    show_annotation_name = TRUE,
    annotation_name_gp = gpar(),
    annotation_name_offset = NULL,
    annotation_name_side = "left",
    annotation_name_rot = 0,
    ...)

Arguments

m

A combination matrix which is as same as the one for UpSet.

gp

Graphic parameters for bars.

height

The height of the top annotation.

show_annotation_name

Whether show annotation names?

annotation_name_gp

Graphic parameters for anntation names.

annotation_name_offset

Offset to the annotation name, a unit object.

annotation_name_side

Side of the annotation name.

annotation_name_rot

Rotation of the annotation name, it can only take values in c(00, 90, 180, 270).

...

Passed to anno_barplot.

Details

The default top annotation is actually barplot implemented by anno_barplot. For how to set the top annotation or bottom annotation in UpSet, please refer to UpSet.

Examples

1
2
# There is no example
NULL

zhongmicai/complexHeatmap documentation built on May 7, 2019, 6:11 a.m.