Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Cosy-Bio
Drugst.One
plugin
Commits
2809219f
Commit
2809219f
authored
4 years ago
by
Julian Späth
Browse files
Options
Downloads
Plain Diff
Merge branch 'enhance' into 'master'
enhance See merge request covid-19/frontend!10
parents
544fe5f5
f01ff27b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/pages/explorer-page/explorer-page.component.html
+9
-45
9 additions, 45 deletions
src/app/pages/explorer-page/explorer-page.component.html
src/app/pages/explorer-page/explorer-page.component.ts
+6
-0
6 additions, 0 deletions
src/app/pages/explorer-page/explorer-page.component.ts
with
15 additions
and
45 deletions
src/app/pages/explorer-page/explorer-page.component.html
+
9
−
45
View file @
2809219f
<div
class=
"content explorer"
>
<!-- <div class="modal" [class.is-active]="showModal">
<div class="modal-background" (click)="closeSummary()"></div>
<div class="modal-card">
<header class="modal-card-head">
<p class="modal-card-title">{{groupId}}</p>
<button class="delete" aria-label="close" (click)="closeSummary()"></button>
</header>
<section class="modal-card-body">
<h2>General Information</h2>
<ul>
<li><b>Protein Group:</b> {{proteinGroup}}</li>
<li><b>Gene Name(s):</b> <span *ngFor="let geneName of geneNames"> {{ geneName }}</span>
<li><b>Protein Name(s):</b> <span *ngFor="let proteinName of proteinNames"> {{ proteinName }}</span>
</li>
<li><b>Protein AC(s):</b>
<a href="https://www.uniprot.org/uniprot/{{proteinAC}}" target="_blank"
*ngFor="let proteinAC of proteinACs">
{{ proteinAC }}<span><img class="inline" align="center" src="../assets/uniprot.png"></span>
</a>
</li>
<li><b>Number of Interactions:</b> {{numberOfInteractions}}</li>
</ul>
<h2>Summary</h2>
<figure class="image" (click)="openSummary('A4435')">
<img src="../assets/boxplot.png" alt="Boxplots">
</figure>
</section>
<footer class="modal-card-foot">
<button class="button is-danger" (click)="closeSummary()">Close</button>
</footer>
</div>
</div>-->
<div
class=
"content bar-left"
>
<div
class=
"card bar"
>
...
...
@@ -83,7 +47,7 @@
<div
class=
"card-content"
>
<div
class=
"content"
>
<div
class=
"field"
>
<div
class=
"control
is-loading
"
>
<div
class=
"control"
>
<input
class=
"input"
type=
"text"
placeholder=
"Search for Protein/Gene..."
>
</div>
</div>
...
...
@@ -113,7 +77,7 @@
</div>
</div>
<footer
class=
"card-footer"
>
<button
class=
"card-footer-item button is-danger"
>
Reset
<button
(click)=
"reset($event);"
class=
"card-footer-item button is-danger"
>
Reset
</button>
</footer>
</div>
...
...
@@ -150,13 +114,13 @@
</div>
<div
class=
"card bar"
>
<header
class=
"card-header"
>
<p
class=
"card-header-title"
>
<span
class=
"icon"
>
<i
class=
"fas fa-filter"
aria-hidden=
"true"
></i>
</span>
Summary
</p>
</header>
<!--
<header class="card-header">
-->
<!--
<p class="card-header-title">
-->
<!--
<span class="icon">
-->
<!--
<i class="fas fa-filter" aria-hidden="true"></i>
-->
<!--
</span> Summary
-->
<!--
</p>
-->
<!--
</header>
-->
<div
*ngIf=
"showDetails"
class=
"card-content"
>
<div
class=
"content"
>
<h2>
Summary
</h2>
...
...
This diff is collapsed.
Click to expand it.
src/app/pages/explorer-page/explorer-page.component.ts
+
6
−
0
View file @
2809219f
...
...
@@ -94,6 +94,12 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit {
this
.
edges
=
data
.
edges
;
}
public
reset
(
event
)
{
const
checked
=
event
.
target
.
checked
;
this
.
baitProteins
.
forEach
(
item
=>
item
.
checked
=
checked
);
this
.
filterNodes
();
}
public
zoomToNode
(
id
:
string
)
{
const
coords
=
this
.
network
.
getPositions
(
id
)[
id
];
this
.
network
.
moveTo
({
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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