Usage
"density"(x, logMode=TRUE, xlab = NULL, ylab = "density", type = "l",
col=1:dim(x)[2], lty=1:dim(x)[2], lwd=1, xlim = NULL, index.highlight = NULL, color.highlight = 2,
symmetry = NULL, addLegend = TRUE, legendPos="topright", subset = NULL, main="", ...)
Arguments
logMode
determine whether the density plot is based on a log2 scale
xlab
xlab of the density plot
ylab
ylab of the density plot
type
parameter of plot function
col
line colors of the density plot
lty
line types of the density plot
lwd
line width of plot function
xlim
parameter of the plot function
index.highlight
the column index of the highlighted density curve
color.highlight
color of highlighted density curve
symmetry
the boundary position suppose to be symmetric distributed
addLegend
whether add legend to the plot or not
legendPos
the legend position. It can be a string specifying the position, or a length two vector specifying the x and y position. Please check legend
for more details. subset
subset of rows used to plot. It can be an index vector, or the length of a random subset
...
additional parameters for density
function