Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jass
Manage
Activity
Members
Labels
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Statistical-Genetics
jass
Commits
86ed77e3
Commit
86ed77e3
authored
2 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
Serve QQ Plot
Fixes #111
parent
060296c4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!61
Serve QQ Plot
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/pages/projects/_id.vue
+18
-0
18 additions, 0 deletions
client/pages/projects/_id.vue
jass/server.py
+8
-0
8 additions, 0 deletions
jass/server.py
with
26 additions
and
0 deletions
client/pages/projects/_id.vue
+
18
−
0
View file @
86ed77e3
...
...
@@ -129,6 +129,19 @@
indeterminate
></v-progress-circular>
</v-btn>
<v-btn
:disabled=
"status.qq_plot != 'READY'"
small
color=
"#298e49"
style=
"color:#fff;text-transform:capitalize;"
v-on:click=
"qqPlot()"
>
QQ plot
<v-progress-circular
v-if=
"status.qq_plot != 'READY'"
:size=
"15"
:width=
"2"
style=
"margin-left:5px"
indeterminate
></v-progress-circular>
</v-btn>
<p>
Tips : You can share the link of this page with your collaborators. They will have access to the same results.
</p>
</v-col>
</v-row>
...
...
@@ -493,6 +506,11 @@ methods:{
console
.
log
(
"
quadrant
"
+
desiredLink
);
window
.
open
(
desiredLink
,
'
_blank
'
);
},
qqPlot
(){
const
desiredLink
=
process
.
env
.
API_URL
+
"
/projects/
"
+
this
.
project
.
id
+
"
/qqplot
"
;
console
.
log
(
"
qq
"
+
desiredLink
);
window
.
open
(
desiredLink
,
'
_blank
'
);
},
manhattanPlot
(){
const
desiredLink
=
process
.
env
.
API_URL
+
"
/projects/
"
+
this
.
project
.
id
+
"
/globalmanhattan
"
;
console
.
log
(
"
globalmanhattan
"
+
desiredLink
);
...
...
This diff is collapsed.
Click to expand it.
jass/server.py
+
8
−
0
View file @
86ed77e3
...
...
@@ -106,6 +106,14 @@ def project_get_quadrant(project_id: str):
)
@app.get
(
"
/api/projects/{project_id}/qqplot
"
)
def
project_get_qq_plot
(
project_id
:
str
):
return
FileResponse
(
load_project
(
project_id
=
project_id
).
get_qq_plot_path
(),
media_type
=
"
image/png
"
,
)
@app.get
(
"
/api/projects/{project_id}/genome_full
"
)
def
get_full_sumstat
(
project_id
:
str
):
project
=
load_project
(
project_id
=
project_id
)
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment