Skip to content

Commit 6069089

Browse files
authored
Merge pull request #1493 from mashehu/fix-de-tutorial
fix rendering of DE tutorial
2 parents 0b70ad7 + 8e85147 commit 6069089

22 files changed

+28
-54
lines changed

docs/usage/DEanalysis/de_rstudio.md renamed to docs/usage/differential_expression_analysis/de_rstudio.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
order: 4
3+
shortTitle: RStudio
34
---
45

56
# Differential Analysis with DESeq2
@@ -33,9 +34,7 @@ As in all analysis, firstly we need to create a new project:
3334

3435
2. Select **New Directory**, **New Project**, name the project as shown below and click on **Create Project**;
3536

36-
<figure markdown="span">
37-
![r_project](./img/project_R.png){ width="400" }
38-
</figure>
37+
![r_project](../differential_expression_analysis/img/project_R.png)
3938

4039
3. The new project will be automatically opened in RStudio.
4140

@@ -48,9 +47,7 @@ To store our results in an organized way, we will create a folder named **de_res
4847

4948
and save the file as **de_script.R**. From now on, each command described in the tutorial can be added to your script. The resulting working directory should look like this:
5049

51-
<figure markdown="span">
52-
![work_dir](./img/workdir_RStudio.png){ width="600" }
53-
</figure>
50+
![work_dir](../differential_expression_analysis/img/workdir_RStudio.png)
5451

5552
The analysis requires several R packages. To utilise them, we need to load the following libraries:
5653

@@ -162,9 +159,7 @@ design(dds_new) # to check the design formula
162159

163160
Comparing the structure of the newly created dds (`dds_new`) with the one automatically produced by the pipeline (`dds`), we can observe the differences:
164161

165-
<figure markdown="span">
166-
![comparison_dds](./img/dds_comparison.png){ width="400" }
167-
</figure>
162+
![comparison_dds](../differential_expression_analysis/img/dds_comparison.png)
168163

169164
Before running the different steps of the analysis, a good practice consists in pre-filtering the genes to remove those with very low counts. This is useful to improve computional efficiency and enhance interpretability. In general, it is reasonable to keep only genes with a sum counts of at least 10 for a minimal number of 3 samples:
170165

@@ -438,7 +433,7 @@ plotCounts(dds_final, gene = "ENSG00000142192")
438433
dev.off()
439434
```
440435

441-
**heatmap**: plot of the normalised counts for all the significant genes obtained with the `pheatmap()` function. The heatmap provides insights into genes and sample relationships that may not be apparent from individual gene plots alone.
436+
- **heatmap**: plot of the normalised counts for all the significant genes obtained with the `pheatmap()` function. The heatmap provides insights into genes and sample relationships that may not be apparent from individual gene plots alone.
442437

443438
```r
444439
#### Heatmap ####

0 commit comments

Comments
 (0)