BioCircosLineTrack {BioCircos} | R Documentation |
Create a track with lines to be added to a BioCircos tracklist
Description
Lines are defined by genomic coordinates and values of an ordered set of points, that will define the edges of the segments.
Usage
BioCircosLineTrack(trackname, chromosomes, positions, values,
color = "#40B9D4", width = 2, maxRadius = 0.9, minRadius = 0.5,
range = 0, ...)
Arguments
trackname |
The name of the new track. |
chromosomes |
A vector containing the chromosomes on which each vertex is found. Values should match the chromosome names given in the genome parameter of the BioCircos function. |
positions |
A vector containing the coordinates on which each vertex are found. Values should be inferior to the chromosome lengths given in the genome parameter of the BioCircos function. |
values |
A vector of numerical values associated with each vertex, used to determine the radial coordinate of each vertex on the visualization. |
color |
The color of the line in hexadecimal RGB format. |
width |
The line width. |
minRadius , maxRadius |
Where the track should begin and end, in proportion of the inner radius of the plot. |
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(BioCircosLineTrack('LnId', rep(1,30), 2e+6*(1:100), log(1:100))
+ BioCircosBackgroundTrack('BGId'))