rc.plot.mHistogram: Plot Histogram or Barplot Across Chromosomes

Description Usage Arguments Details Author(s) See Also Examples

Description

Plot histogram or barplot that overlaps with multiple chromosomes.

Usage

1
2
3
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 Details.

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 TRUE.

track.color

NA or color code for the track background.

track.border

the color to draw the track border. Use NA to omit borders.

polygon.border

the color to draw the polygon border. See explanation for polygon.

custom.track.height

NULL or numeric, specifying customized track height to overwrite the default. See rc.get.params for default value.

max.value

NULL or numeric, specifying the maximum data value for normalization. Default NULL, get max from data column data.col.

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

1
#This is not to be run alone. Please see tutorial vignette("netweaver") for usage.

Example output



NetWeaver documentation built on May 2, 2019, 11:26 a.m.