BioCircosCNVTrack {BioCircos} | R Documentation |
Create a track with concentric arcs to be added to a BioCircos tracklist
Description
Arcs are defined by a genomic range and radially associated with a numerical value
Usage
BioCircosCNVTrack(trackname, chromosomes, starts, ends, values,
maxRadius = 0.9, minRadius = 0.5, width = 1, color = "#40B9D4",
range = 0, ...)
Arguments
trackname |
The name of the new track. |
chromosomes |
A vector containing the chromosomes on which each arc 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 arc begins or ends. |
values |
A vector of numerical values associated with each bin, used to determine the height of each bar on the track. |
minRadius , maxRadius |
Where the track should begin and end, in proportion of the inner radius of the plot. |
width |
The thickness of the arc |
color |
The color for the arcs, in hexadecimal RGB format. |
range |
Vector of values to be mapped to the minimum and maximum radii of the track. Default to 0, mapping the minimal and maximal values input in the values parameter. |
... |
Ignored |
Examples
BioCircos(BioCircosCNVTrack('BarTrack', chromosomes = 1:3, starts = 1e+7*2:4, ends = 2.5e+7*2:4,
values = 1:3, color = "#BB0000", maxRadius = 0.85, minRadius = 0.55)
+ BioCircosBackgroundTrack('BGTrack'))