CircosWig: Create a WIG module to a moduleList

Description Usage Arguments Value Examples

View source: R/interacCircos.R

Description

Display a multi-layer line plot in circos

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
CircosWig(
  modulename,
  compareGroup = 1,
  maxRadius = 108,
  minRadius = 95,
  direction = "out",
  ValueAxisManualScale = FALSE,
  ValueAxisMaxScale = 10,
  ValueAxisMinScale = 0,
  color = "red",
  opacity = 1,
  strokeColor = "black",
  strokeWidth = 1,
  strokeType = "cardinal",
  animationDisplay = FALSE,
  animationTime = 2000,
  animationDelay = 20,
  animationType = "bounce",
  data,
  ...
)

Arguments

modulename

The name of the new module.

compareGroup

The group number of this module in compare module

maxRadius, minRadius

Where the module should begin and end

direction

The direction of plot, either inside or outside

ValueAxisManualScale

Whether manually control the scale of value

ValueAxisMaxScale, ValueAxisMinScale

The max and min scale value for manually control

color

Color for plot

opacity

Opacity for plot

strokeColor

The color for stroke

strokeWidth

The width for stroke

strokeType

Line type for stroke, could be linear, cardinal, basis and monotone

animationDisplay

Whether display animation

animationTime, animationDelay, animationType

The time, delay and display type for animation

data

A list of value with details including chr, pos, des, value and html. Details can be found on document.

...

Ignored

Value

The module tracks for wig modules.

Examples

1
2
3
4
wigData<-wigExample
Circos(CircosWig('WIG01', data = wigData, maxRadius= 200,minRadius= 150,strokeColor= "darkblue",
color= "lightblue",strokeType= "cardinal")+CircosBackground('BG01',minRadius = 205,maxRadius = 150)
,genome=list("chr8"=1000),outerRadius = 220)

interacCircos documentation built on Jan. 21, 2021, 5:10 p.m.