Barplot Annotation for oncoPrint
Barplot Annotation for oncoPrint
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)
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? |
This annotation function should always be used with oncoPrint
.
Zuguang Gu <z.gu@dkfz.de>
# There is no example NULL
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.