| rc.plot.mHistogram {NetWeaver} | R Documentation |
Plot Histogram or Barplot Across Chromosomes
Description
Plot histogram or barplot that overlaps with multiple chromosomes.
Usage
rc.plot.mHistogram(Data, track.id, data.col, color.col=NULL, color.gradient=NULL,
fixed.height=FALSE, track.color=NA, track.border=NULL, polygon.border=NULL,
custom.track.height=NULL, max.value=NULL)
Arguments
Data |
data.frame of at least four columns. See |
track.id |
integer, the track number for plotting. |
data.col |
integer or character string, specifies the column of data. |
color.col |
integer or character string, specifies the column of colors. |
color.gradient |
a vector of gradient colors. |
fixed.height |
logical, whether to fix the histogram height, resulting in heat-map if |
track.color |
NA or color code for the track background. |
track.border |
the color to draw the track border. Use |
polygon.border |
the color to draw the polygon border. See explanation for |
custom.track.height |
NULL or numeric, specifying customized track height to overwrite the default. See |
max.value |
NULL or numeric, specifying the maximum data value for normalization. Default NULL, get max from data column |
Details
Data must have at least four columns: Chr1, Start1, Chr2 and End2, specifying the chromosomes and positions for the start and end points. Additional columns may be used to specify the data, color, etc.
If color.gradient is not NULL, it will supersede color.col.
Author(s)
Minghui Wang <m.h.wang@live.com>
See Also
rc.plot.link, rc.plot.histogram
Examples
#This is not to be run alone. Please see tutorial vignette("netweaver") for usage.