Skip to content

tidytranscriptomics-workshops/ismb2021_tidytranscriptomics

Repository files navigation

DOI .github/workflows/basic_checks.yaml Docker

Introduction to Tidy Transcriptomics

ismb2021 tidybulk

Instructor names and contact information

  • Maria Doyle <Maria.Doyle at petermac.org>
  • Stefano Mangiola <mangiola.s at wehi.edu.au>

Syllabus

Material web page.

More details on the workshop are below.

Workshop package installation

For the ISMBECCB2021 workshop, an RStudio in the cloud will be provided with everything installed, all that participants will need is a web browser.

Post-workshop, if you want to run the code shown on your own computer, you can use one of the two ways described below.

Via Docker image

If you're familiar with Docker you could use the Docker image which has all the software pre-configured to the correct versions.

docker run -e PASSWORD=abc -p 8787:8787 stemangiola/ismb2021_tidytranscriptomics:ismb2021

Once running, navigate to http://localhost:8787/ and then login with Username:rstudio and Password:abc.

You should see the Rmarkdown file with all the workshop code which you can run.

Via GitHub

Alternatively, you could install the workshop using the commands below in R 4.1.

#install.packages('remotes')

# Need to set this to prevent installation erroring due to even tiny warnings, similar to here: https://github.com/r-lib/remotes/issues/403#issuecomment-748181946
Sys.setenv("R_REMOTES_NO_ERRORS_FROM_WARNINGS" = "true")

# Install same versions used in the workshop
#install.packages("remotes")
remotes::install_github(c("stemangiola/[email protected]", "stemangiola/[email protected]", "stemangiola/[email protected]"))

# Install workshop package
remotes::install_github("tidytranscriptomics-workshops/ismb2021_tidytranscriptomics", build_vignettes = TRUE)

# To view vignettes
library(ismb2021tidytranscriptomics)
browseVignettes("ismb2021tidytranscriptomics")

To run the code, you could then copy and paste the code from the workshop vignette or R markdown file into a new R Markdown file on your computer.

Workshop Description

This tutorial will present how to perform analysis of single-cell and bulk RNA sequencing data following the tidy data paradigm. The tidy data paradigm provides a standard way to organise data values within a dataset, where each variable is a column, each observation is a row, and data is manipulated using an easy-to-understand vocabulary. Most importantly, the data structure remains consistent across manipulation and analysis functions.

This can be achieved with the integration of packages present in the R CRAN and Bioconductor ecosystem, including tidyseurat, tidySingleCellExperiment, tidybulk, tidyHeatmap and tidyverse. These packages are part of the tidytranscriptomics suite that introduces a tidy approach to RNA sequencing data representation and analysis.

Pre-requisites

  • Basic knowledge of RStudio
  • Some familiarity with tidyverse syntax
  • Some familiarity with bulk RNA-seq and single cell RNA-seq

Recommended Background Reading Introduction to R for Biologists

Workshop Participation

The workshop format is a 4 hour session consisting of hands-on demos, exercises and Q&A.

R / Bioconductor packages used

  • tidybulk
  • tidyseurat
  • tidyHeatmap
  • limma
  • edgeR
  • DESeq2
  • airway
  • org.Hs.eg.db
  • ggrepel
  • GGally
  • plotly

Time outline

Guide

Activity Time
Part 1 Bulk RNA-seq Core
Hands-on Demos + Exercises 90m
    Differential gene expression
    Cell type composition analysis
Break 30m
Part 2 Single-cell RNA-seq
Hands-on Demos + Exercises 90m
    Single-cell analysis
    Pseudobulk analysis
Q&A 30m
Total 240m

Workshop goals and objectives

In exploring and analysing RNA sequencing data, there are a number of key concepts, such as filtering, scaling, dimensionality reduction, hypothesis testing, clustering and visualisation, that need to be understood. These concepts can be intuitively explained to new users, however, (i) the use of a heterogeneous vocabulary and jargon by methodologies/algorithms/packages, (ii) the complexity of data wrangling, and (iii) the coding burden, impede effective learning of the statistics and biology underlying an informed RNA sequencing analysis.

The tidytranscriptomics approach to RNA sequencing data analysis abstracts out the coding-related complexity and provides tools that use an intuitive and jargon-free vocabulary, enabling focus on the statistical and biological challenges.

Learning goals

  • To understand the key concepts and steps of RNA sequencing data analysis
  • To approach data representation and analysis though a tidy data paradigm, integrating tidyverse with tidybulk, tidyseurat, tidySingleCellExperiment and tidyHeatmap.

Learning objectives

  • Recall the key concepts of RNA sequencing data analysis
  • Apply the concepts to publicly available data
  • Create plots that summarise the information content of the data and analysis results

Acknowledgements

Thanks to the ISMB tutorial organisers for their support with delivering the workshop, especially Annette McGrath for feedback on the material. Many thanks to the Australian Research Data Commons (ARDC) for providing RStudio in the Australian Nectar Research Cloud, especially Andy Botting from ARDC for helping to set it up.
ismb2021