Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit c36241a

Browse files
Continuing work to improve tutorial pages, for Viz and Enrich tabs.
1 parent a8ec3f0 commit c36241a

File tree

3 files changed

+80
-39
lines changed

3 files changed

+80
-39
lines changed

docs/enrich.md

Lines changed: 41 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,46 @@ layout: default
44
nav_order: 4
55
---
66

7-
SeptiSearch includes the ability to upload a list of your own genes (e.g. those
7+
# Perform Pathway Enrichment
8+
9+
## Overview
10+
SeptiSearch includes the ability to upload any list of genes (e.g. those
811
identified as differentially expressed in an RNA-Seq experiment) and test them
9-
for enriched Reactome pathways using
10-
[ReactomePA](https://bioconductor.org/packages/ReactomePA), as well as MSigDB's
11-
Hallmark gene sets and GO terms via
12-
[enrichR](https://cran.r-project.org/package=enrichR). This functionality is
13-
designed to complement the use of GSVA (the next tab), which tests your data for
14-
the dysregulation of the curated sepsis gene sets.
15-
16-
- You have a few options for submitting data here:
17-
- Use the "Load example data" button to load a preselected list of genes
18-
- You can paste your own list of genes as a single column, with one gene per
19-
line. Submitted genes IDs can be Ensembl, Entrez, or HGNC names.
20-
- From the Explore the Database (ADD LINK) tab, select a
21-
single gene set in the top table, then use the "Test this gene set for
22-
enriched pathways" button to send the genes to the Enrichment tab
23-
- Next, the "1. Perform gene ID mapping" button will be enabled, which will
12+
for enriched Reactome pathways using [ReactomePA](https://bioconductor.org/packages/ReactomePA),
13+
as well as MSigDB's Hallmark gene sets and GO terms via [enrichR](https://cran.r-project.org/package=enrichR).
14+
This functionality is designed to complement the use of GSVA (the next tab),
15+
which tests your data for the dysregulation of the curated sepsis gene sets.
16+
17+
## Supported input types
18+
You have a few options for submitting data to SeptiSearch for pathway enrichment:
19+
20+
1. Use the "Load example data" button to load a preselected list of genes
21+
2. Paste your own list of genes into the input field as a single column, with
22+
one gene per line
23+
- Submitted genes IDs can be Ensembl, Entrez, or HGNC names; the ID type is
24+
automatically detected, and mapping is performed as needed
25+
3. From the [Explore the Database](explore) tab, select a single gene set in the
26+
top table, then use the "Test this gene set for enriched pathways" button to
27+
send the genes to the Enrichment tab
28+
29+
## Running pathway enrichment
30+
Once you've added genes via one of the above methods, you can proceed with the
31+
next steps to test your genes:
32+
33+
- The "1. Perform gene ID mapping" button will now be enabled, which will
2434
complete any necessary mapping steps prior to enrichment testing
25-
- Once the ID mapping is completed, you can hit the "2. Submit genes for pathway
26-
enrichment" button to run the tests.
27-
- Your results will be displayed in two tables; one containing Reactome pathways
28-
identified by ReactomePA, and the second containing GO terms and MSigDB
29-
Hallmark gene sets found by enrichR; use the buttons to switch between the
30-
two. Hover your cursor over the column names to see a description of each.
31-
Both tables can be downloaded using the buttons at the bottom of the
32-
sidebar.
33-
34-
![Table of enrichment results, from ReactomePA.](../assets/images/t6.png)
35+
- A confirmation message will appear to confirm your genes have been mapped;
36+
click "OK" or anywhere outside the popup to dismiss it
37+
- When the ID mapping is completed, you can then press the "2. Submit genes for
38+
pathway enrichment" button to run the enrichment tests
39+
- Depending on the number of genes uploaded, this may take up to 30 seconds to
40+
complete - please be patient!
41+
42+
Your results will be displayed in two tables; one containing Reactome pathways
43+
identified by ReactomePA, and the second containing GO terms and MSigDB
44+
Hallmark gene sets found by enrichR. You can use the buttons to switch between
45+
the two tables. If you're unsure what any of the columns mean, hover your
46+
cursor over the column names to see a brief description. Both tables can be
47+
then downloaded using the buttons at the bottom of the sidebar.
48+
49+
![Table of enrichment results, from ReactomePA.](../assets/images/t6.png)

docs/explore.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ layout: default
44
nav_order: 2
55
---
66

7+
# Explore the Database
8+
79
## Overview
810
This tab allows you to easily browse and search the SeptiSearch database.
911
Entries are organized by Gene Set Name, which is a unique identifier given to a

docs/visualize.md

Lines changed: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,45 @@ layout: default
44
nav_order: 3
55
---
66

7-
The second tab provides a more visual way of search the curated gene sets, with
8-
a greater focus on the molecules frequently occuring within SeptiSearch.
7+
# Visualize the Database
98

10-
The plot shows the most common molecules in the database, coloured by COVID
11-
status, with the sidebar on the left providing a number of ways to filter the
12-
data. The "Reset this page" button at the bottom of the sidebar will reset all
13-
inputs, returning the plot to its original state.
9+
## Overview
10+
This tab provides a way to visualize SeptiSearch's curated gene sets, with
11+
a greater focus on which molecules frequently occur within the database.
12+
13+
## Interacting with the plot
14+
The plot that appears shows the most common molecules in the database, coloured
15+
by COVID status, with the sidebar on the left providing a number of ways to
16+
filter the data. This plot, made with [plotly](https://plotly.com/r/), is
17+
interactive in a number of ways:
18+
19+
- Hovering over any bar with your cursor will display the molecule's name and
20+
both its total number of occurences, and occurrences by COVID status
21+
- Click-and-drag from side-to-side to zoom in on a region of the x-axis
22+
- At the top right of the plot there are a number of additional controls you can
23+
use
1424

1525
![Hover over a column in the plot to see the details for that molecule.](../assets/images/t4.png)
1626

17-
You can click one of the bars in the plot to show all entries for that molecule
18-
in SeptiSearch, and download this table using the button at the bottom of the
19-
sidebar.
27+
- Additionally, you can click on a bar in the plot to bring up a table below
28+
which lists all entries for that molecule in SeptiSearch.
29+
30+
![Click a bar in the plot to list all its entries in SeptiSearch.](../assets/images/t5.png)
31+
32+
## Filtering the data
33+
The sidebar contains a number of input fields you can use to refine what data is
34+
included in the visualization.
35+
36+
- The first lets you include only COVID or non-COVID related studies, and will
37+
show only the corresponding molecules based on their gene set
38+
- The next three fields will filter the data based on the assigned Age Group,
39+
Tissue Class, and Timepoint
40+
- These three options can be combined in any way you like
41+
- More than one option can be chosen for each field, e.g. you can see what the
42+
top molecules are for Adults, in any type of Blooc Cell using the Age Group
43+
and Tissue Class input
44+
- Check SeptiSearch's About page (the last tab listed at the top of the page)
45+
for more details on these labels and how they're defined
2046

21-
Additionally, as this plot is rendered by Plotly, there are a number of other
22-
ways in which you can interact with it, such as click-and-drag to zoom in on a
23-
specific part of the plot. The controls at the top right of the plot also
24-
provide a number of additional options.
47+
{: .note }
48+
You can use the "Reset this page" button at the bottom of the sidebar to restore the plot and all filters to their original state.

0 commit comments

Comments
 (0)