Skip to main content

Transcriptomics

This page covers bulk RNA-seq, starting from a gene count table or Salmon quantifications. The methods come from the rnaseqGene workflow and the tidyomics tutorials.

Prompts to try

  1. Find genes that respond to dexamethasone in airway smooth muscle cells. Send:

    Load airway from the airway package and set untreated as the reference level of dex.

    Then:

    Run DESeq2 with cell line and treatment in the design.

    Then ask why:

    Why include the cell line in the model?
  2. Prepare Salmon counts for limma-voom. The gse object in the airway package holds Salmon gene counts. Send:

    Load the gse object from the airway package. What is in colData?

    Then:

    Make a DGEList with tximeta's makeDGEList, filter lowly expressed genes and compute TMM factors.
  3. Build a DESeq2 dataset that leaves out the cell lines:

    Load airway from the airway package and build a DESeq2 dataset with treatment only, as if we didn't know the cell lines.
  4. Load a count table and its sample annotation:

    Load the pasilla gene count table and sample annotation from the extdata folder of the pasilla package.

What a note can do

  • Get data. Notes load public data such as airway, pasilla, macrophage, fission or recount3, or read your count table. tximeta or tximport read Salmon or other quantifications.
  • Look first. A PCA of the samples shows their structure before any test.
  • Find changed genes. DESeq2, edgeR and limma (with voom) test for differential expression between groups, with other factors such as donor or batch in the design.
  • Sharper results. apeglm shrinks noisy fold changes, IHW weights the multiple testing to gain power, and sva estimates hidden sources of variation such as unknown batches.
  • Tidy style. tidybulk applies tidyverse verbs to the same data.
  • Gene sets. Pathway and gene set analysis of the results is covered in Functional annotation.

Reads are aligned or quantified in Reports on Roihu with CSC tools such as HISAT2, STAR, Salmon and Trinity. Upload the counts or Salmon output to a note to continue there.

Example notes

The volcano plot in the 'Dexamethasone response in airway smooth muscle cells' note.