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
|
\name{anno_oncoprint_barplot}
\alias{anno_oncoprint_barplot}
\title{
Barplot Annotation for oncoPrint
}
\description{
Barplot Annotation for oncoPrint
}
\usage{
anno_oncoprint_barplot(type = NULL, which = c("column", "row"),
bar_width = 0.6, beside = FALSE, 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{
\item{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.}
\item{which}{Is it a row annotation or a column annotation?}
\item{bar_width}{Width of the bars.}
\item{beside}{Will bars be stacked or be positioned beside each other?}
\item{ylim}{Data range.}
\item{show_fraction}{Whether to show the numbers or the fractions?}
\item{axis}{Whether draw axis?}
\item{axis_param}{Parameters for controlling axis.}
\item{width}{Width of the annotation.}
\item{height}{Height of the annotation.}
\item{border}{Whether draw the border?}
}
\details{
This annotation function should always be used with \code{\link{oncoPrint}}.
}
\author{
Zuguang Gu <z.gu@dkfz.de>
}
\examples{
# There is no example
NULL
}
|