Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
ef95025f
Commit
ef95025f
authored
Mar 06, 2015
by
Mathieu Giraud
Browse files
scatterPlot.js: some useful plot presets
parent
5728b7eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/js/scatterPlot.js
View file @
ef95025f
...
...
@@ -109,12 +109,15 @@ function ScatterPlot(id, model) {
[
"
lengthCDR3
"
,
"
CDR3 length
"
]
];
// Plot Presets
this
.
preset
=
{
"
V/J (genes)
"
:
{
"
mode
"
:
"
plot
"
,
"
x
"
:
"
gene_v
"
,
"
y
"
:
"
gene_j
"
},
"
V/J (alleles)
"
:
{
"
mode
"
:
"
plot
"
,
"
x
"
:
"
allele_v
"
,
"
y
"
:
"
allele_j
"
},
"
V/N length
"
:
{
"
mode
"
:
"
plot
"
,
"
x
"
:
"
gene_v
"
,
"
y
"
:
"
n
"
},
"
V/abundance
"
:
{
"
mode
"
:
"
plot
"
,
"
x
"
:
"
gene_v
"
,
"
y
"
:
"
Size
"
},
"
V distribution
"
:
{
"
mode
"
:
"
bar
"
,
"
x
"
:
"
gene_v
"
,
"
y
"
:
"
bar
"
}
// "V/abundance" : { "mode": "plot", "x" : "gene_v", "y": "Size"},
"
V distribution
"
:
{
"
mode
"
:
"
bar
"
,
"
x
"
:
"
gene_v
"
,
"
y
"
:
"
gene_j
"
},
"
Clone length distribution
"
:
{
"
mode
"
:
"
bar
"
,
"
x
"
:
"
sequenceLength
"
,
"
y
"
:
"
gene_v
"
},
"
N length distribution
"
:
{
"
mode
"
:
"
bar
"
,
"
x
"
:
"
n
"
,
"
y
"
:
"
gene_v
"
}
};
//Menu with graph distrib' (see initMenu function)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment