BioCircosHeatmapTrack {BioCircos}R Documentation

Create a heatmap track to be added to a BioCircos tracklist

Description

Heatmaps are defined by the genomic range and the color-associated numerical value of each box of the heatmap layer

Usage

BioCircosHeatmapTrack(trackname, chromosomes, starts, ends, values,
  labels = "", maxRadius = 0.9, minRadius = 0.5,
  color = c("#40B9D4", "#F8B100"), range = 0, ...)

Arguments

trackname

The name of the new track.

chromosomes

A vector containing the chromosomes on which each box is found. Values should match the chromosome names given in the genome parameter of the BioCircos function.

starts, ends

Vectors containing the coordinates on which each box begins or ends.

values

A vector of numerical values associated with each box, used to determine the height of each bar on the track.

labels

One or multiple character objects to label each bar.

minRadius, maxRadius

Where the track should begin and end, in proportion of the inner radius of the plot.

color

a vector of the colors in hexadecimal RGB format to be mapped to the minimum and maximum values of the track. Colors of intermediate values will be linearly interpolated between this two colors.

range

a vector of the values to be mapped to the minimum and maximum colors of the track. Default to 0, mapping the minimal and maximal values input in the values parameter.

...

Ignored

Examples

BioCircos(BioCircosHeatmapTrack('HmTrack', chromosomes = 1:3, starts = 1e+7*2:4, ends = 2.5e+7*2:4, 
  values = 1:3, labels = c('A ', 'B ', 'C ')))


[Package BioCircos version 0.3.4 Index]