---
title: "TP SingleCell DEA"
output: html_document
date: "2023-11-08"
---
# Load libraries
```{r load_libraries, echo=TRUE, eval=FALSE}
base::library(package = "BiocParallel") # Optionally multithread some steps
base::library(package = "DT") # Display nice table in HTML
base::library(package = "ggplot2") # Draw graphs and plots
base::library(package = "ggpubr") # Draw nicer graphs
base::library(package = "rstatix") # Base R statistics
base::library(package = "knitr") # Build this presentation
base::library(package = "dplyr") # Handle big tables
base::library(package = "Seurat") # Handle SingleCell analyses
base::library(package = "SeuratObject") # Handle SingleCell objects
base::library(package = "SingleCellExperiment") # Handle SingleCell file formats
base::library(package = "UpSetR") # Nice venn-like graphs
base::library(package = "EnhancedVolcano") # Draw Volcano plot
```
# Load RDS object
```{r load_seurat_object, echo=TRUE, eval=TRUE}
sobj <- base::readRDS(
file = "/shared/projects/2325_ebaii/SingleCell/DEA/Scaled_Normalized_Seurat_Object.RDS",
)
```
# Your time to work!
## Find DE genes
Use the function `FindMarkers` from the `Seurat` package on the Seurat object
contained in the variable `sobj`.
Remember:
1. we want to do the analysis on the cell cycle phase
2. we want to use the Wincoxon/Student/ROC method, according to your team
3. we need to select the right counts in the `RNA` assay.
```{r run_diff_exp_analysis, echo=TRUE, eval=TRUE}
# Write down your code here
```
## Session info
Use the function `sessionINfo()` to keep a track of your package version!
Remember:
1. I can't remember the package name... Can you find it?
```{r session_info, echo=TRUE, eval=TRUE}
# Write down your code here
```