rc.plot.heatmap: Plot Heat-map

Description Usage Arguments Details Author(s) See Also Examples

Description

Add multiple tracks of heat-map on a circos plot.

Usage

1
2
rc.plot.heatmap(Data, track.id, color.gradient=NULL,
	track.color=NA, track.border=NULL, polygon.border=NULL)

Arguments

Data

matrix, data to be plotted. See Details.

track.id

integer, starting track id.

color.gradient

a vector of gradient colors. See details.

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.

Details

This function employs rc.plot.histogram to plot heat-map. Every row of Data will be plotted as heat-map in one track. The column names of Data must be the chromosome ids.

If color.gradient is not NULL, the data will be scaled to positive integers in the range of 1~length(color.gradient) to index the colors in vector color.gradient. If color.gradient isNULL, the input Data must be a matrix of colors or anything that can be converted to colors.

Author(s)

Minghui Wang <m.h.wang@live.com>

See Also

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.