You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage/differential_expression_analysis/de_rstudio.md
+4-9Lines changed: 4 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
---
2
2
order: 4
3
+
shortTitle: RStudio
3
4
---
4
5
5
6
# Differential Analysis with DESeq2
@@ -33,9 +34,7 @@ As in all analysis, firstly we need to create a new project:
33
34
34
35
2. Select **New Directory**, **New Project**, name the project as shown below and click on **Create Project**;
35
36
36
-
<figuremarkdown="span">
37
-
{ width="400" }
38
-
</figure>
37
+

39
38
40
39
3. The new project will be automatically opened in RStudio.
41
40
@@ -48,9 +47,7 @@ To store our results in an organized way, we will create a folder named **de_res
48
47
49
48
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:
The analysis requires several R packages. To utilise them, we need to load the following libraries:
56
53
@@ -162,9 +159,7 @@ design(dds_new) # to check the design formula
162
159
163
160
Comparing the structure of the newly created dds (`dds_new`) with the one automatically produced by the pipeline (`dds`), we can observe the differences:
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:
0 commit comments