Transcriptomics
Transcriptomics measures which genes are switched on, and how strongly, by counting RNA. Bulk RNA-seq does this for a whole sample at once. In a note you can load a count table, look at the samples and find genes that change between groups.
Prompts to try
Copy a prompt into a new note and send it. When the result is back, send the follow-up.
Find genes that respond to a drug. 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?Use limma-voom on Salmon counts. Send:
Load the gse object from the airway package. It holds Salmon gene counts. What is in colData?Then:
Make a DGEList with tximeta's makeDGEList, filter lowly expressed genes and compute TMM factors.Look for hidden batch effects:
Load airway from the airway package and build a DESeq2 dataset with treatment only, as if we didn't know the cell lines.Start from a plain count table:
Load the pasilla gene count table and sample annotation from the extdata folder of the pasilla package.
What a note can do
- Get data. Load public data such as airway, pasilla, macrophage, fission or recount3, or read your own count table. Salmon or other quantifications can be read with tximeta or tximport.
- Look first. A PCA plot shows which samples are alike before any test.
- Find changed genes. DESeq2, edgeR and limma (with voom) are packages that find genes whose activity differs between groups. They can take other factors, such as the donor or the batch, into account.
- Sharper results. apeglm shrinks noisy fold changes. IHW gets more out of multiple testing. sva finds hidden sources of variation, such as unknown batches.
- Tidy style. tidybulk lets you use tidyverse verbs on the same data.
- Gene sets. To see which pathways your changed genes belong to, see Functional annotation.
Notes start from counts or quantifications, not from raw reads. Reads are aligned or quantified in Reports on Roihu, with CSC tools such as HISAT2, STAR, Salmon and Trinity. The counts or Salmon output can then go into a note.
Notes follow the rnaseqGene workflow and the tidyomics tutorials.
Example notes

- Exploring the airway RNA-seq samples: counts made comparable and a sample PCA, before any test.
- Dexamethasone response in airway smooth muscle cells: DESeq2 from model to volcano plot.
- limma-voom on Salmon-quantified airway data: why counts need weights in a linear model.
- Hidden batch effects in airway with sva: finding the cell lines without being told.
- Pasilla knockdown with fold change shrinkage: a DESeq2 dataset built from a count table.
- Independent filtering and IHW: why genes with very few reads cost you power.
- Interferon response by cell type with pseudo-bulk: single cells summed per patient, then tested with edgeR.