Skip to content

Commit

Permalink
add radius conf for chords
Browse files Browse the repository at this point in the history
  • Loading branch information
nicgirault committed Jun 5, 2017
1 parent dbad97a commit 64d89af
Show file tree
Hide file tree
Showing 6 changed files with 3,232 additions and 3,161 deletions.
7 changes: 7 additions & 0 deletions demo/chords.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ var drawCircos = function (error, GRCh37, cytobands, data) {
'l1',
data,
{
radius: function (d) {
if (d.source.id === 'chr1') {
return 0.5
} else {
return null
}
},
logScale: false,
opacity: 0.7,
color: '#ff5722',
Expand Down
Loading

0 comments on commit 64d89af

Please sign in to comment.