Audience | Computational skills required | Duration |
---|---|---|
Biologists | Introduction to R | 2-day workshop (~10 hours of trainer-led time) |
This repository has teaching materials for a 2-day, hands-on Introduction to single-cell RNA-seq analysis workshop. This 2-day hands-on workshop will instruct participants on how to design a single-cell RNA-seq experiment, and how to efficiently manage and analyze the data starting from count matrices. This will be a hands-on workshop in which we will focus on using the Seurat package using R/RStudio. Working knowledge of R is required or completion of the Introduction to R workshop.
- Undertand the considerations when designing a single-cell RNA-seq experiment
- Discuss the steps involved in taking raw single-cell RNA-sequencing data and generating a count (gene expression) matrix
- Compute and assess QC metrics at every step in the workflow
- Cluster cells based on expression data and derive the identity of the different cell types present
- Perform integration of different sample conditions
These materials are developed for a trainer-led workshop, but also amenable to self-guided learning.
Below are links to the lessons and suggested schedules:
Download the most recent versions of R and RStudio for your laptop:
Note 1: Install the packages in the order listed below.
Note 2: When installing the following packages, if you are asked to select (a/s/n) or (y/n), please select “a” or "y" as applicable.
Note 3: All the package names listed below are case sensitive!
(1) Install the 10 packages listed below from CRAN using the install.packages()
function.
tidyverse
Matrix
RCurl
scales
cowplot
devtools
BiocManager
Seurat
**
Please install them one-by-one as follows:
install.packages("tidyverse")
install.packages("Matrix")
install.packages("RCurl")
& so on ...
** If you have trouble installing
Seurat
, please installmulttest
using the following lines of code, then try installingSeurat
again:
install.packages("BiocManager")
BiocManager::install("multtest")
(2) Install the 4 packages listed below from Bioconductor using the the BiocManager::install()
function.
SingleCellExperiment
AnnotationHub
ensembldb
Please install them one-by-one as follows:
BiocManager::install("SingleCellExperiment")
BiocManager::install("AnnotationHub")
& so on ...
(3) Finally, please check that all the packages were installed successfully by loading them one at a time using the library()
function.
library(Seurat)
library(tidyverse)
library(Matrix)
library(RCurl)
library(scales)
library(cowplot)
library(SingleCellExperiment)
library(AnnotationHub)
library(ensembldb)
(4) Once all packages have been loaded, run sessionInfo().
sessionInfo()
These materials have been developed by members of the teaching team at the Harvard Chan Bioinformatics Core (HBC). These are open access materials distributed under the terms of the Creative Commons Attribution license (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.