Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Metagenomics
metagenedb
Commits
2d989b93
Commit
2d989b93
authored
Dec 02, 2019
by
Kenzo-Hugo Hillion
♻
Browse files
Add buttons for selection
parent
08744778
Pipeline
#19187
passed with stages
in 2 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/Stats.vue
View file @
2d989b93
...
...
@@ -31,6 +31,25 @@
>
<v-icon
class=
"white--text"
>
bar_chart
</v-icon>
<v-toolbar-title>
Gene length distribution
</v-toolbar-title>
<v-spacer></v-spacer>
<v-flex
xs4
md2
>
<v-select
background-color=
"primary"
:items=
"this.geneLengthChoice"
label=
"Window Length"
value=
400
color=
"secondary"
></v-select>
</v-flex>
<v-flex
xs4
md2
>
<v-select
background-color=
"primary"
:items=
"this.stopAtChoice"
label=
"Stop at"
value=
5000
color=
"secondary"
></v-select>
</v-flex>
</v-toolbar>
<histogram
:histoData=
"geneLengthData"
></histogram>
</v-flex>
...
...
@@ -41,6 +60,15 @@
>
<v-icon
class=
"white--text"
>
account_tree
</v-icon>
<v-toolbar-title>
Taxonomical annotation
</v-toolbar-title>
<v-spacer></v-spacer>
<v-flex
xs4
md2
>
<v-select
background-color=
"primary"
:items=
"this.selectLevel"
value=
"phylum"
color=
"secondary"
></v-select>
</v-flex>
</v-toolbar>
<doughnut
:doughnutData=
"taxoCounts"
></doughnut>
</v-flex>
...
...
@@ -68,8 +96,11 @@ export default {
geneCountTaxo
:
{},
geneCountFull
:
{},
geneLengthWindowSize
:
400
,
stopAtChoice
:
[
5000
,
10000
],
geneLengthChoice
:
[
200
,
400
,
500
,
1000
],
stopAt
:
5000
,
taxoCounts
:
{},
selectLevel
:
[
'
kingdom
'
,
'
phylum
'
,
'
genus
'
]
};
},
mounted
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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