0286e386 |
\name{anno_oncoprint_barplot}
\alias{anno_oncoprint_barplot}
\title{
|
3c40a7c1 |
Barplot Annotation for oncoPrint
|
0286e386 |
}
\description{
|
3c40a7c1 |
Barplot Annotation for oncoPrint
|
0286e386 |
}
\usage{
|
0bb5000f |
anno_oncoprint_barplot(type = NULL, which = c("column", "row"),
|
80d025e2 |
bar_width = 0.6, beside = FALSE, ylim = NULL, show_fraction = FALSE, axis = TRUE,
|
0bb5000f |
axis_param = if(which == "column") default_axis_param("column") else list(side = "top", labels_rot = 0),
width = NULL, height = NULL, border = FALSE)
|
0286e386 |
}
|
ad35494a |
\arguments{
|
3c40a7c1 |
\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?}
|
0bb5000f |
\item{bar_width}{Width of the bars.}
|
80d025e2 |
\item{beside}{Will bars be stacked or be positioned beside each other?}
|
9d714092 |
\item{ylim}{Data range.}
|
b9126156 |
\item{show_fraction}{Whether to show the numbers or the fractions?}
|
0bb5000f |
\item{axis}{Whether draw axis?}
\item{axis_param}{Parameters for controlling axis.}
|
9d714092 |
\item{width}{Width of the annotation.}
|
1a56796e |
\item{height}{Height of the annotation.}
\item{border}{Whether draw the border?}
|
ad35494a |
|
1a56796e |
}
\details{
|
3c40a7c1 |
This annotation function should always be used with \code{\link{oncoPrint}}.
|
0286e386 |
}
\author{
Zuguang Gu <z.gu@dkfz.de>
}
\examples{
# There is no example
NULL
|
c94e524a |
|
0286e386 |
}
|