@@ -125,7 +125,7 @@ def layout(app):
125
125
value = "data" ,
126
126
children = [
127
127
dcc .Tab (
128
- label = "Data " ,
128
+ label = "Volcano plot " ,
129
129
value = "data" ,
130
130
children = html .Div (
131
131
className = "control-tab" ,
@@ -167,7 +167,48 @@ def layout(app):
167
167
),
168
168
),
169
169
dcc .Tab (
170
- label = "About" ,
170
+ label = "About this tutorial" ,
171
+ value = "description" ,
172
+ children = html .Div (
173
+ className = "control-tab" ,
174
+ children = [
175
+ html .H4 (
176
+ className = "description" ,
177
+ children = """Visualizing RNA-seq data with pileup.js
178
+ and volcano plots""" ,
179
+ ),
180
+ dcc .Markdown (
181
+ """
182
+ In this example, we use the pileup.js and volcano plot components from dash-bio
183
+ to visualize two RNA-sequencing
184
+ (RNA-seq) samples from two conditions. RNA-seq allows us to learn how the expression
185
+ of genes changes between different samples of interest. Here, we are looking at
186
+ RNA-seq from two samples that are taken from two different mouse cell types.
187
+ We refer to these different cell types as basal and luminal cell types.
188
+
189
+ On the right, we use pileup.js to visualize aligned reads from RNA-seq samples.
190
+ On the left, we have a volcano plot, that visualizes the magnitude of change
191
+ in gene expression between the two samples. On the x-axis, the `Effect Size`
192
+ indicates the log2 fold change in expression
193
+ between the two conditions. On the y-axis, `-log10(p)` indicates the -log10(p-value)
194
+ for each gene. This p-value, along with the effect size,
195
+ can help determine whether each gene is significantly
196
+ differentially expressed between the conditions of interest.
197
+
198
+ To explore a gene, you can click on a gene in the volcano plot. After clicking on
199
+ a gene, the genomic region overlapping that gene will show up in the pileup.js
200
+ browser on the right. Now, you can investigate RNA-seq alignments at each
201
+ gene of interest. You may notice that genes with a negative effect size in the volcano
202
+ plot have more RNA-seq reads in the top sample (the basal cell type), while genes
203
+ with a positive effect size have more reads in the bottom sample
204
+ (the luminal cell type).
205
+ """
206
+ ),
207
+ ],
208
+ ),
209
+ ),
210
+ dcc .Tab (
211
+ label = "About pileup.js" ,
171
212
value = "what-is" ,
172
213
children = html .Div (
173
214
className = "control-tab" ,
@@ -181,7 +222,7 @@ def layout(app):
181
222
The Dash pileup.js component is a high-performance genomics
182
223
data visualization component developed originally by the Hammer Lab
183
224
(https://github.com/hammerlab/pileup.js). pileup.js
184
- supports visualization of genomic file formats, such as vcfs ,
225
+ supports visualization of genomic file formats, such as vcf ,
185
226
bam, and bigbed files. pileup.js additionally allows flexible
186
227
interaction with non-standard data formats. Users can visualize
187
228
GA4GH JSON formatted alignments, features and variants. Users can
0 commit comments