Constructor
new VARNAConfig()
Properties:
Name | Type | Description |
---|---|---|
layout |
string | base layout (default: Layouts.RADIATE) |
spaceBetweenBases |
int | multiplier for base spacing |
bpDistance |
int | distance between paired bases (length of canonical basepair) |
backboneLoop |
int | backbone distance within a loop (radiate, turtle, puzzler) |
backboneMultiLoop |
int | backbone distance within a multiloop for radiate layout |
baseNameColor |
string | color of base name, i.e. nucleotide (default: rgb(64, 64, 64)) |
baseInnerColor |
string | color to fill base (default: rgb(242, 242, 242)) |
baseOutlineColor |
string | color of base border (default: rgb(91, 91, 91)) |
baseOutlineThickness |
float | base border thickness (default: 1.5) |
baseNumColor |
string | color of base number (default: rgb(64, 64, 64)) |
baseNumPeriod |
int | base number period. Non positive value means hiding base number (default: 10) |
backboneColor |
string | color of backbone (default: rgb(91, 91, 91)) |
backboneThickness |
int | backbone thickness (default: 1) |
bpColor |
string | basepair color (default: blue) |
bpThickness |
int | basepair thickness (default: 1) |
bpLowerPlane |
bool | draw basepair in lower plane in linear layout (default: false) |
drawBases |
bool | base visibility (default: true) |
drawBacbone |
bool | backbone visibility (default: true) |
puzzler |
Puzzler | puzzler setting |
- Source:
Classes
Methods
backboneCyStyle(selector)
Create general cytoscape style for backbone
Parameters:
Name | Type | Default | Description |
---|---|---|---|
selector |
string | edge.bacbone | backbone selector (default: "edge.backbone") |
- Source:
baseCyStyle(selector)
Create general cytoscape style for bases
Parameters:
Name | Type | Default | Description |
---|---|---|---|
selector |
string | node | base selector (default: "node") |
- Source:
baseNameCyStyle(selector)
Create general cytoscape style for base names
Parameters:
Name | Type | Default | Description |
---|---|---|---|
selector |
string | node[label] | base name selector (default: "node[label]") |
- Source:
bpCyStyle(selector)
Create general cytoscape style forbasepair
Parameters:
Name | Type | Default | Description |
---|---|---|---|
selector |
string | edge.bacbone | basepair selector (default: "edge.basepair") |
- Source: