Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
StrandLab2.net
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Strand Lab
StrandLab2.net
Commits
257283f3
Commit
257283f3
authored
5 years ago
by
Nicole Finks
Browse files
Options
Downloads
Plain Diff
Merge branch 'repository' of
https://git.biohpc.swmed.edu/StrandLab/StrandLab2.net
into repository
parents
472be3c3
b8d4e89c
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!9
Develop
,
!8
Repository
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
layouts/custom/data.html
+62
-62
62 additions, 62 deletions
layouts/custom/data.html
with
62 additions
and
62 deletions
layouts/custom/data.html
+
62
−
62
View file @
257283f3
{{ partial "header.html" . }}
<div
class=
"header"
>
<h1>
{{ .Title }}
</h1>
<h2>
{{ .Description }}
</h2>
</div>
<div
class=
"content"
>
{{ .Content }}
</div>
{{ partial "footer.html" . }}
<head>
<link
rel=
"stylesheet"
href=
"https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css"
>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"
></script>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"
></script>
<style>
.ui-autocomplete
{
max-height
:
200px
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
}
</style>
<script>
$
(
function
(){
$
(
"
#lineage
"
).
selectmenu
({
width
:
230
});
});
$
(
function
(){
$
(
"
#populations
"
).
selectmenu
({
width
:
230
});
});
$
(
function
(){
var
genes
=
{{
index
.
Site
.
Data
.
scRNAseq_huPr_D
.
genes
}};
var
selectedGene
=
$
(
"
#gene
"
).
autocomplete
({
source
:
genes
.
genes
,
maxResults
:
10
,
maxShowItems
:
10
,
minLength
:
1
,
});
});
$
(
"
#analysis
"
).
click
(
function
(
event
)
{
event
.
preventDefault
();
var
genes
=
{{
index
.
Site
.
Data
.
scRNAseq_huPr_D
.
genes
}};
_gene
=
$
(
'
#gene
'
).
val
().
toUpperCase
();
if
(
$
.
inArray
(
_gene
,
genes
.
genes
)
<
0
){
alert
(
"
Gene
"
+
_gene
+
"
not exist in the data.
"
)
return
}
<!--
alert
(
_gene
)
-->
document
.
getElementById
(
"
label.gene
"
).
innerHTML
=
_gene
document
.
getElementById
(
"
label.lineage
"
).
innerHTML
=
$
(
"
#lineage
"
).
val
().
toUpperCase
()
+
"
Cells
"
document
.
getElementById
(
"
label.ClusterVis
"
).
innerHTML
=
"
Cluster Visualization
"
var
img
=
document
.
getElementById
(
"
img.ClusterVis
"
);
img
.
src
=
"
/images/scRNAseq_huPr_D/png/ID/
"
+
$
(
"
#lineage
"
).
val
()
+
"
/
"
+
$
(
"
#populations
"
).
val
()
+
"
/ClusterVis.png
"
document
.
getElementById
(
"
label.Feature
"
).
innerHTML
=
"
Feature Plot
"
var
img
=
document
.
getElementById
(
"
img.Feature
"
);
img
.
src
=
"
/images/scRNAseq_huPr_D/png/Feature/
"
+
$
(
"
#lineage
"
).
val
()
+
"
/genes/
"
+
_gene
+
"
.png
"
document
.
getElementById
(
"
label.ViolinBox
"
).
innerHTML
=
"
Violin Box Plot
"
var
img
=
document
.
getElementById
(
"
img.ViolinBox
"
);
img
.
src
=
"
/images/scRNAseq_huPr_D/png/ViolinBox/
"
+
$
(
"
#lineage
"
).
val
()
+
"
/
"
+
$
(
"
#populations
"
).
val
()
+
"
/
"
+
_gene
+
"
.png
"
return
(
_gene
)
});
</script>
{{ partial "header.html" . }}
<div
class=
"header"
>
<h1>
{{ .Title }}
</h1>
<h2>
{{ .Description }}
</h2>
</div>
<div
class=
"content"
>
{{ .Content }}
</div>
{{ partial "footer.html" . }}
<head>
<link
rel=
"stylesheet"
href=
"https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css"
>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"
></script>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"
></script>
<style>
.ui-autocomplete
{
max-height
:
200px
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
}
</style>
<script>
$
(
function
(){
$
(
"
#lineage
"
).
selectmenu
({
width
:
230
});
});
$
(
function
(){
$
(
"
#populations
"
).
selectmenu
({
width
:
230
});
});
$
(
function
(){
var
genes
=
{{
index
.
Site
.
Data
.
scRNAseq_huPr_D
.
genes
}};
var
selectedGene
=
$
(
"
#gene
"
).
autocomplete
({
source
:
genes
.
genes
,
maxResults
:
10
,
maxShowItems
:
10
,
minLength
:
1
,
});
});
$
(
"
#analysis
"
).
click
(
function
(
event
)
{
event
.
preventDefault
();
var
genes
=
{{
index
.
Site
.
Data
.
scRNAseq_huPr_D
.
genes
}};
_gene
=
$
(
'
#gene
'
).
val
().
toUpperCase
();
if
(
$
.
inArray
(
_gene
,
genes
.
genes
)
<
0
){
alert
(
"
Gene
"
+
_gene
+
"
does
not exist in the data.
"
)
return
}
<!--
alert
(
_gene
)
-->
document
.
getElementById
(
"
label.gene
"
).
innerHTML
=
_gene
document
.
getElementById
(
"
label.lineage
"
).
innerHTML
=
$
(
"
#lineage
"
).
val
().
toUpperCase
()
+
"
Cells
"
document
.
getElementById
(
"
label.ClusterVis
"
).
innerHTML
=
"
Cluster Visualization
"
var
img
=
document
.
getElementById
(
"
img.ClusterVis
"
);
img
.
src
=
"
/images/scRNAseq_huPr_D/png/ID/
"
+
$
(
"
#lineage
"
).
val
()
+
"
/
"
+
$
(
"
#populations
"
).
val
()
+
"
/ClusterVis.png
"
document
.
getElementById
(
"
label.Feature
"
).
innerHTML
=
"
Feature Plot
"
var
img
=
document
.
getElementById
(
"
img.Feature
"
);
img
.
src
=
"
/images/scRNAseq_huPr_D/png/Feature/
"
+
$
(
"
#lineage
"
).
val
()
+
"
/genes/
"
+
_gene
+
"
.png
"
document
.
getElementById
(
"
label.ViolinBox
"
).
innerHTML
=
"
Violin Box Plot
"
var
img
=
document
.
getElementById
(
"
img.ViolinBox
"
);
img
.
src
=
"
/images/scRNAseq_huPr_D/png/ViolinBox/
"
+
$
(
"
#lineage
"
).
val
()
+
"
/
"
+
$
(
"
#populations
"
).
val
()
+
"
/
"
+
_gene
+
"
.png
"
return
(
_gene
)
});
</script>
</head>
\ No newline at end of file
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