Skip to content

Commit 429851b

Browse files
authored
Merge pull request #34 from DeepPhe/v0.3.0
V0.3.0
2 parents 21d0882 + 329ebd7 commit 429851b

22 files changed

+2302
-1582
lines changed

README.md

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# DeepPhe-Viz v0.2.0
1+
# DeepPhe-Viz v0.3.0
22

33
The DeepPhe NLP extracts information from the patient cancer reports and stores the data in Neo4j graph database. The DeepPhe-Viz tool represents the extracted information in an organized workflow to end users, enabling exploration and discovery of patient data.
44

@@ -17,12 +17,12 @@ The DeepPhe NLP extracts information from the patient cancer reports and stores
1717

1818
You must have the following tools installed:
1919

20-
- [Nodejs 10.13.0 (includes npm 6.4.1) or the latest LTS version](https://nodejs.org/en/download/) - which the DeepPhe-Viz tool is built upon
21-
- [Neo4j 3.2.x Server](https://neo4j.com/download-center/#releases) - is used to store the graph output from DeepPhe NLP
20+
- [Nodejs 10.15.1 (includes npm 6.4.1) or the latest LTS version](https://nodejs.org/en/download/) - which the DeepPhe-Viz tool is built upon
21+
- [Neo4j 3.5.x Server](https://neo4j.com/download-center/#releases) - is used to store the graph output from DeepPhe NLP
2222

2323
if you need to manage multiple versions of NodeJS, we have been successfully using the [nvm](https://github.com/creationix/nvm) tool to configure and manage our NodeJS environment; nvm enables a user to associate a paritcular NodeJS and NPM version with their Unix shell, allowing for each switching between NodeJS versions across different projects.
2424

25-
For neo4j server installation, we have tested the "Neo4j Community Edition 3.2.13" with this DeepPhe release, and you can download it from the [Neo4j Releases page](https://neo4j.com/download-center/#releases) by choosing the correct download for your platform. Then follow their [installation instructions](https://neo4j.com/docs/operations-manual/current/installation/) to configure and start the server.
25+
For neo4j server installation, we have tested the "Neo4j Community Edition 3.5.1" with this DeepPhe release, and you can download it from the [Neo4j Releases page](https://neo4j.com/download-center/#releases) by choosing the correct download for your platform. Then follow their [installation instructions](https://neo4j.com/docs/operations-manual/current/installation/) to configure and start the server.
2626

2727
![Neo4j server download](neo4j_server_download.png "Neo4j server download")
2828

@@ -49,7 +49,7 @@ After building the [DeepPhe system](https://github.com/DeepPhe/DeepPhe-Release/b
4949
dbms.active_database=deepphe.db
5050
````
5151

52-
You'll also have a file named `deepphe-viz-0.2.0-plugin.zip` in the directory `deepphe-viz-neo4j/target` after building the [DeepPhe system](https://github.com/DeepPhe/DeepPhe-Release/blob/master/README.md). This compressed file contains a directory named `plugins`. All the jar files of the `plugins` directory must be copied to `<NEO4J_HOME>/plugins` directory. The DeepPhe-Viz uses these libraries to interact with the customized DeepPhe system database.
52+
You'll also have a file named `deepphe-viz-0.3.0-plugin.zip` in the directory `deepphe-viz-neo4j/target` after building the [DeepPhe system](https://github.com/DeepPhe/DeepPhe-Release/blob/master/README.md). This compressed file contains a directory named `plugins`. All the jar files of the `plugins` directory must be copied to `<NEO4J_HOME>/plugins` directory. The DeepPhe-Viz uses these libraries to interact with the customized DeepPhe system database.
5353

5454
To run Neo4j as a console application, use:
5555
`./<NEO4J_HOME>/bin/neo4j console`
@@ -77,7 +77,7 @@ The Viz tool consists of two major components&mdash;cohort analysis and individu
7777

7878
### Cohort Analysis
7979

80-
When we first load the DeepPhe-Viz in the web browser, you'll see a cohort analysis page. The system queries Neo4j to get all the patients of all cancer stages, and the results are represented in a series of charts.
80+
When we first load the DeepPhe-Viz in the web browser, you'll see a cohort analysis page. The system queries Neo4j to get all the patients of all cancer stages, and the results are represented in a series of charts. The two charts (A) and (B) on the top section can be used as filters to narrow down the target patients (C) and the resulting charts (D), (E), and (F).
8181

8282
![Cohort Analysis](cohort_analysis.png "Cohort Analysis")
8383

@@ -87,29 +87,34 @@ This chart shows the number of patients of each cancer stage. When users click o
8787

8888
**B. Patient Age of First Encounter Per Stage**
8989

90-
Box-whisker plots summarizing the distribution of patient age of diagnosis across all cancer stages.
90+
Box-whisker plots summarizing the distribution of patient age of diagnosis across all cancer stages. The age range sliders on both sides can be used to specify the target range of first encounter age.
9191

92-
**C. Diagnosis**
92+
**C. Target Patients**
9393

94-
The diagnosis chart is a summary of all the diagnosis across all the patient or patients from the selected stage. Moving the bottom slider scrolls through the patients in the X axis.
94+
The target patients list is grouped by their age of first encounter and serves as the entry point to the individual patient profile. The highlighted patients are the ones being displayed in the Diagnosis chart (D).
9595

96-
**D. Biomarkers**
96+
**D. Diagnosis**
9797

98-
The biomarkers chart is a stacked bar chart that shows the percentage of patients who are positive, negative, and unknown for major biomarkers. Note - as of October 2018, this display is only meaningful for breast cancer data.
98+
The diagnosis chart is a summary of all the grouped diagnosis across all the target patients based on the filters. Moving the bottom slider scrolls through the patients in the X axis.
9999

100-
**E. Patients Table**
100+
**E. Biomarkers Overview**
101+
102+
The biomarkers overview chart is a simple distrubtion that shows the percentage of patients with biomarkers and patients without biomarkers among the target patients. Because biomarkers don't apply to patients with certain diagnosis.
103+
104+
**F. Patients With Biomarkers**
105+
106+
The biomarkers overview chart is a stacked bar chart that shows the percentage of patients who are positive, negative, and unknown for major biomarkers.
101107

102-
The patient table groups the target patients by their age of first encounter and serves as the entry point to the individual patient profile.
103108

104109
### Individual Patient Profile
105110

106111
Clicking a target patient from the Cohort Analysis patient table, leads to display of the individual patient page.
107112

108113
![Individual Patient Profile](individual_patient_profile.png "Individual Patient Profile")
109114

110-
The patient view starts with personal information on the upper left (A), followed by the cancer summary (B) and tumor summaries (C). The default tumor summary list view stacks all the tumors and the table view shows comparable items side by side. Similar concepts are grouped and share background colors. Concepts are ordered by importance, and each can be clicked to display their original sources in clinical notes on the right.
115+
The patient view starts with personal information on the upper left (A), followed by the cancer and tumor summary (B). The default tumor summary list view stacks all the tumors and the table view shows comparable items side by side. Similar concepts are grouped and share background colors. Concepts are ordered by importance, and each can be clicked to display their original sources in clinical notes on the right.
111116

112-
This timeline view (D) provides a temporal view of all of the reports for this patient. Currently we have the following report types:
117+
This timeline view (C) provides a temporal view of all of the reports for this patient. Currently we have the following report types:
113118

114119
- Progress Note
115120
- Radiology Report
@@ -130,12 +135,17 @@ The double-thumb slider below the timeline can also be used to zoom and scroll
130135

131136
All information shown in the cohort graphs, cancer and tumor summaries, and patient timeline are extracted from clinical notes or inferred via domain rules.
132137

133-
When you click one of the report dots, the report text is shown underneath the timeline (E) with all of the concepts extracted from the report. Clicking on these terms scauses the document text to scroll to the relevant span.
138+
When you click one of the report dots, the report text is shown underneath the timeline (D) with all of the concepts extracted from the report. Clicking on these terms scauses the document text to scroll to the relevant span.
134139

135140
Note that the text in this example is obscured to protect the privacy of the patient.
136141

137142
All of the summary items from the full cancer and tumor summaries can also be clicked to show their source report in the timeline.
138143

144+
## API Documentation
145+
146+
We've created a set of API endpoints using Swagger UI for advanced users to explore the potential use cases for their additional needs. The API documentation can be accessed at http://localhost:8383/documentation once you have the DeepPhe-Viz server running. This documentation allows the users to visualize and interact with the API's resources without having any of the implementation logic in place.
147+
148+
![Swagger API Documentation](swagger_api.png "Swagger API Documentation")
139149

140150
## For Developers
141151

0 commit comments

Comments
 (0)