Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

anno_oncoprint_barplot

Barplot Annotation for oncoPrint


Description

Barplot Annotation for oncoPrint

Usage

anno_oncoprint_barplot(type = NULL, which = c("column", "row"),
    bar_width = 0.6, ylim = NULL, show_fraction = FALSE, axis = TRUE,
    axis_param = if(which == "column") default_axis_param("column") else list(side = "top", labels_rot = 0),
    width = NULL, height = NULL, border = FALSE)

Arguments

type

A vector of the alteration types in the data. It can be a subset of all alteration types if you don't want to show them all.

which

Is it a row annotation or a column annotation?

bar_width

Width of the bars.

ylim

Data range.

show_fraction

Whether to show the numbers or the fractions?

axis

Whether draw axis?

axis_param

Parameters for controlling axis.

width

Width of the annotation.

height

Height of the annotation.

border

Whether draw the border?

Details

This annotation function should always be used with oncoPrint.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

# There is no example
NULL

ComplexHeatmap

Make Complex Heatmaps

v2.6.2
MIT + file LICENSE
Authors
Zuguang Gu
Initial release
2020-11-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.