Description Usage Arguments Value Examples
View source: R/interacCircos.R
Simple legend annotation displayed in the visualization.
| 1 2 3 4 5 6 7 8 9 10 11 12 | CircosLegend(
  modulename,
  x = 20,
  y = 20,
  title = "legend",
  size = 6,
  weight = "normal",
  GapBetweenGraphicText = 5,
  GapBetweenLines = 20,
  data,
  ...
)
 | 
| modulename | The name of the new module. | 
| x, y | Coordinates of the lower left corner of the annotation | 
| title | The title for legend | 
| size | Font size for title, with units specified (such as em or px). | 
| weight | Font weight for title. Can be "normal", "bold", "bolder" or "lighter". | 
| GapBetweenGraphicText | Gap between icon and text in legend. | 
| GapBetweenLines | Gap between each two lines in legend | 
| data | A list of legend with details including type, color, opacity, circleSize, rectSize, lineWidth, lineHeight, text, textSize and textWeight. Details can be found on document. | 
| ... | Ignored | 
The module tracks for legend modules.
| 1 2 3 4 5 | legend1 <- list(type= "circle", color="#1E77B4",opacity="1.0",circleSize="8",text= "C.CK", 
textSize= "14",textWeight="normal")
legend2 <- list(type= "circle", color="#AEC7E8",opacity="1.0",circleSize="8",text= "C.NPK", 
textSize= "14",textWeight="normal")
Circos(CircosLegend('legend01', title = "legend",data=list(legend1,legend2),size = 20))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.