This vignette outlines some common steps for RNA-seq analysis
highlighting functions present in the coriell
package. In
order to illustrate some of the analysis steps I will borrow examples
and data from the rnaseqGene
and RNAseq123
Bioconductor workflows. Please check out the above workflows for more
details regarding RNA-seq analysis.
This vignette contains my opinionated notes on performing RNA-seq analyses. I try to closely follow best practices from package authors but if any information is out of date or incorrect, please let me know.
Overview
Differential gene expression analysis using RNA-seq typically consists of several steps:
- Quality control of the fastq files with a tool like FastQC or fastp
- Alignment of fastq files to a reference genome using a splice-aware aligner like STAR or transcript quantification using a pseudoaligner like Salmon.
- If using a genome aligner, read counting with Rsubread::featureCounts or HTSeq count to generate gene counts. If using a transcript aligner, importing gene-level counts using the appropriate offsets with tximport or tximeta
- Quality control plots of the count level data including PCA, heatmaps, relative-log expression boxplots, density plots of count distributions, and parallel coordinate plots of libraries. Additionally, check the assumptions of global scaling normalization.
- Differential expression testing on the raw counts using edgeR, DESeq2, baySeq, or limma::voom
- Creation of results plots such as volcano or MA plots.
- Gene ontology analysis of interesting genes.
- Gene set enrichment analysis.
Quality Control
fastp has quickly become my favorite tool for QC’ing fastq files primarily because it is fast and produces nice looking output files that are also amenable to summarization with MultiQC. fastp will also perform adapter trimming by default on fastq files. I tend to fall in the camp that believes read quality trimming is not necessary for RNA-seq alignment. However, I have never experienced worse results after using the defaults with fastp so I leave it be and just inspect the output carefully.
A simple bash script for running fastp over a set of fastq files might look something like this:
#!/usr/bin/env bash
#
# Run fastp on the raw fastq files
#
# ----------------------------------------------------------------------------
set -Eeou pipefail
FQ=/path/to/00_fastq # Directory containing raw fastq files
SAMPLES=sample-names.txt # A text file listing basenames of fastq files
OUT=/path/to/put/01_fastp # Where to save the fastp results
THREADS=8
mkdir -p $OUT
for SAMPLE in $(cat $SAMPLES)
do
fastp -i $FQ/${SAMPLE}_R1.fq.gz \
-I $FQ/${SAMPLE}_R2.fq.gz \
-o $OUT/${SAMPLE}.trimmed.1.fq.gz \
-O $OUT/${SAMPLE}.trimmed.2.fq.gz \
-h $OUT/${SAMPLE}.fastp.html \
-j $OUT/${SAMPLE}.fastp.json \
-w $THREADS
done
Where sample-names.txt
is a simple text file with each
basename like so:
Control1
Control2
Control3
Treatment1
Treatment2
Treatment3
It is important to name the results files with
*.fastp.{json|html}
so that multiqc
can
recognize the extensions and combine the results automatically.
Alignment and Quantification
Salmon
I tend to perform quantification with Salmon in order to obtain transcript-level counts for each sample. A simple bash script for performing quantification with Salmon looks like:
#!/usr/bin/env bash
#
# Perform transcript quantification with Salmon
#
# ----------------------------------------------------------------------------
set -Eeou pipefail
SAMPLES=sample-names.txt # Same sample-names.txt file as above
IDX=/path/to/salmon-idx # Index used by Salmon
FQ=/path/to/01_fastp # Directory containing the fastp output
OUT=/path/to/02_quants # Where to save the Salmon results
THREADS=12
mkdir -p $OUT
for SAMPLE in $(cat $SAMPLES)
do
salmon quant \
-i $IDX \
-l A \
-1 $FQ/${SAMPLE}.trimmed.1.fq.gz \
-2 $FQ/${SAMPLE}.trimmed.2.fq.gz \
--validateMappings \
--gcBias \
--seqBias \
--threads $THREADS \
-o $OUT/${SAMPLE}_quants
done
I tend to always use the --gcBias
and
--seqBias
flags as they don’t impair accuracy in the
absence of biases (quantification just takes a little longer).
STAR
Sometimes I also need to produce genomic coordinates for alignments. For this purpose I tend to use STAR to generate BAM files as well as produce gene-level counts with it’s inbuilt HTSeq-count functionality. A simple bash script for running STAR might look like:
#!/usr/bin/env bash
#
# Align reads with STAR
#
# ----------------------------------------------------------------------------
set -Eeou pipefail
SAMPLES=sample-names.txt # Same sample-names.txt file as above
FQ=/path/to/01_fastp # Directory containing the fastp output
OUT=/path/to/03_STAR_outs # Where to save the STAR results
IDX=/path/to/STAR-idx # Index used by STAR for alignment
THREADS=24
mkdir -p $OUT
for SAMPLE in $(cat $SAMPLES)
do
STAR --runThreadN $THREADS \
--genomeDir $IDX \
--readFilesIn ${FQ}/${SAMPLE}.trimmed.1.fq.gz ${FQ}/${SAMPLE}.trimmed.2.fq.gz \
--readFilesCommand zcat \
--outFilterType BySJout \
--outFileNamePrefix ${OUT}/${SAMPLE}_ \
--alignSJoverhangMin 8 \
--alignSJDBoverhangMin 1 \
--outFilterMismatchNmax 999 \
--outFilterMismatchNoverReadLmax 0.04 \
--alignIntronMin 20 \
--alignIntronMax 1000000 \
--alignMatesGapMax 1000000 \
--outMultimapperOrder Random \
--outSAMtype BAM SortedByCoordinate \
--quantMode GeneCounts;
done
For STAR I tend to use the ENCODE default parameters above for human
samples and also output gene level counts using the
--quantMode GeneCounts
flag.
Generating a matrix of gene counts
The recommended methods for performing differential expression analysis implemented in edgeR, DESeq2, baySeq, and limma::voom all require raw count matrices as input data.
Importing transcript level counts from Salmon
We use R
to import the quant files into the active
session. tximeta
will download the appropriate metadata for
the reference genome used and import the results as a
SummarizedExperiment
object. Check out the tutorial
for working with SummarizedExperiment
objects if you are
unfamiliar with their structure.
The code below will create a data.frame mapping sample names to file
paths containing quantification results. This data.frame is then used by
tximeta
to import Salmon
quantification
results at the transcript level (along with transcript annotations).
Then, we use summarizeToGene()
to summarize the tx counts
to the gene level. Finally, we transform the
SummarizedExperiment
object to a DGEList
for
use in downstream analysis with edgeR
library(tximeta)
library(edgeR)
quant_files <- list.files(
path = "02_quants",
pattern = "quant.sf",
full.names = TRUE,
recursive = TRUE
)
# Extract samples names from filepaths
names(quant_files) <- gsub("02_quants", "", quant_files, fixed = TRUE)
names(quant_files) <- gsub("_quants/quant.sf", "", names(quant_files), fixed = TRUE)
# Create metadata for import
coldata <- data.frame(
names = names(quant_files),
files = quant_files,
group = factor(rep(c("Control", "Treatment"), each = 3))
)
# Import transcript counts with tximeta
se <- tximeta(coldata)
# Summarize tx counts to the gene-level
gse <- summarizeToGene(se)
# Import into edgeR for downstream analysis
y <- SE2DGEList(gse)
Importing gene counts from STAR
If you used STAR to generate counts with HTSeq-count then
edgeR
can directly import the results for downstream
analysis like so:
library(edgeR)
# Specify the filepaths to gene counts from STAR
count_files <- list.files(
path = "03_STAR_outs",
pattern = "*.ReadsPerGene.out.tab",
full.names = TRUE
)
# Name the file with their sample names
names(count_files) <- gsub(".ReadsPerGene.out.tab", "", basename(count_files))
# Import HTSeq counts into a DGEList
y <- readDGE(
files = count_files,
columns = c(1, 2), # Gene name and 'unstranded' count columns
group = factor(rep(c("Control", "Treatment"), each = 3)),
labels = names(count_files)
)
Test data
We will use data from the airway package to illustrate differential expression analysis steps. Please see Section 2 of the rnaseqGene workflow for more information.
Below, we load the data from the airway package and use
SE2DGEList
to convert the object to a DGElist
for use with edgeR
.
Library QC
Before we perform differential expression analysis it is important to
explore the samples’ library distributions in order to ensure good
quality before downstream analysis. There are several diagnostic plots
we can use for this purpose implemented in the coriell
package. However, first we must remove any features that have too low of
counts for meaningful differential expression analysis. This can be
achieved using edgeR::filterByExpr()
.
# Determine which genes have enough counts to keep around
keep <- filterByExpr(y)
# Remove the unexpressed genes
y <- y[keep,,keep.lib.sizes = FALSE]
At this stage it is often wise to perform library QC on the library
size normalized counts. This will give us an idea about potential global
expression differences and potential outliers before
introducing normalization factors. We can use edgeR
to
generate log2 counts-per-million values for the retained genes.
logcounts <- cpm(y, log = TRUE)
Relative log expression boxplots
The first diagnostic plot we can look at is a plot of the relative log expression values. RLE plots are good diagnostic tools for evaluating unwanted variation in libraries.
library(ggplot2)
library(coriell)
plot_boxplot(logcounts, metadata = y$samples, fillBy = "group", rle = TRUE) +
labs(title = "Relative Log Expression",
x = "Sample",
y = "RLE",
color = "Treatment Group") +
theme_coriell()
We can see from the above RLE plot that the samples are centered around zero and have mostly similar distributions. It is also clear that two of the samples, “SRR1039520” and “SRR1039521”, have slightly different distributions than the others.
Library density plots
Library density plots show the density of reads corresponding to a particular magnitude of counts. Shifts of these curves should align with group differences and generally samples from the same group should have overlapping density curves
plot_density(logcounts, metadata = y$samples, colBy = "group") +
labs(title = "Library Densities",
x = "logCPM",
y = "Density",
color = "Treatment Group") +
theme_coriell()
Sample vs Sample Distances
We can also calculate the euclidean distance between all pairs of samples and display this on a heatmap. Again, samples from the same group should show smaller distances than sample pairs from differing groups.
plot_dist(logcounts, metadata = y$samples[, "group", drop = FALSE])
Parallel coordinates plot
Parallel coordinates plots are useful for giving you an idea of how the most variable genes change between treatment groups. These plots show the expression of each gene as a line on the y-axis traced between samples on the x-axis.
plot_parallel(logcounts, y$samples, colBy = "group",
removeVar = 0.9, alpha = 0.05) +
labs(title = "10% Most Variable Genes",
x = "Sample",
y = "logCPM",
color = "Treatment Group") +
theme_coriell()
#> Removing 90% lowest variance features...
PCA
Principal components analysis is an unsupervised method for reducing the dimensionality of a dataset while maintaining its fundamental structure. PCA biplots can be used to examine sample groupings following PCA. These biplots can reveal overall patterns of expression as well as potential problematic samples prior to downstream analysis. For simple analyses we expect to see the ‘main’ effect primarily along the first component.
I like to use the PCAtools
package for quickly computing and plotting principal components. For
more complicated experiments I have also found UMAP (see
coriell::UMAP()
) to be useful for dimensionality
reduction.
library(PCAtools)
# Perform PCA on the 20% most variable genes
# Center and scale the variable after selecting most variable
pca_result <- pca(
logcounts,
metadata = y$samples,
center = TRUE,
scale = TRUE,
removeVar = 0.8
)
# Show the PCA biplot
biplot(
pca_result,
colby = "group",
hline = 0,
vline = 0,
hlineType = 2,
vlineType = 2,
legendPosition = "bottom",
title = "PCA",
caption = "20% Most Variable Features"
)
Assessing global scaling normalization assumptions
Most downstream differential expression testing methods apply a global scaling normalization factor to each library prior to DE testing. Applying these normalization factors when there are global expression differences can lead to spurious results. In typical experiments this is usually not a problem but when dealing with cancer or epigenetic drug treatment this can actually lead to many problems if not identified.
In order to identify potential violations of global scaling
normalization I use the quantro
R package. quantro
uses two data driven approaches to
assess the appropriateness of global scaling normalization. The first
involves testing if the medians of the distributions differ between
groups. These differences could indicate technical or real biological
variation. The second test assesses the ratio of between group
variability to within group variability using a permutation test similar
to an ANOVA. If this value is large, it suggests global adjustment
methods might not be appropriate.
library(quantro)
# Initialize multiple (8) cores for permutation testing
doParallel::registerDoParallel(cores = 8)
# Compute the qstat on the filtered libraries
qtest <- quantro(y$counts, groupFactor = y$samples$group, B = 500)
Now we can assess the results. We can use anova()
to
test for differences in medians across groups. Here, they do not
significantly differ.
anova(qtest)
#> Analysis of Variance Table
#>
#> Response: objectMedians
#> Df Sum Sq Mean Sq F value Pr(>F)
#> groupFactor 1 1984.5 1984.5 0.3813 0.5596
#> Residuals 6 31225.5 5204.2
We can also plot the results of the permutation test to see the between:within group ratios. Again, there are no large differences in this dataset suggesting that global scaling normalization such as TMM is appropriate.
quantroPlot(qtest)
Differential expression testing with edgeR
After removing lowly expressed features and checking the assumptions
of normalization we can perform downstream differential expression
testing with edgeR
. The edgeR
manual contains a detailed explanation of all steps involved in
differential expression testing.
In short, we need to specify the experimental design, estimate normalization factors, fit the models, and perform DE testing.
Creating the experimental design
Maybe the most important step in DE analysis is properly constructing
a design matrix. The details of design matrices are outside of the scope
of this tutorial but a good overview can be found here.
Generally, your samples will fall nicely into several well defined
groups, facilitating the use of a design matrix without an intercept
e.g. design ~ model.matrix(~0 + group, ...)
. This kind of
design matrix makes it relatively simple to construct contrasts that
describe exactly what pairs of groups you want to compare.
Since this example experiment is simply comparing treatments to control samples we can model the differences in means by using a model with an intercept where the intercept is the mean of the control samples and the 2nd coefficient represents the differences in the treatment group.
# Model with intercept
design <- model.matrix(~group, data = y$samples)
We can make an equivalent model and test without an intercept like so:
# A means model
design_no_intercept <- model.matrix(~0 + group, data = y$samples)
# Construct contrasts to test the difference in means between the groups
cm <- makeContrasts(
Treatment_vs_Control = grouptrt - groupuntrt,
levels = design_no_intercept
)
The choice of which design is up to you. I typically use whatever is clearer for the experiment at hand. In this case that is the model with an intercept.
Estimating normalization factors
We use edgeR
to calculate trimmed mean of the M-value
(TMM) normalization factors for each library.
# Estimate TMM normalization factors
y <- normLibSizes(y)
We can check the normalization by creating MA plots for each library
par(mfrow = c(2, 4))
for (i in 1:ncol(y)) {
plotMD(cpm(y, log = TRUE), column = i)
abline(h = 0, lty = 2, col = "red2")
}
What to do if global scaling normalization is violated?
Above I described testing for violations of global scaling normalization. So what should we do if these assumptions are violated and we don’t have a good set of control genes or spike-ins etc.?
If we believe that the differences we are observing are due to true biological phenomena (this is a big assumption) then we can try to apply a method such as smooth quantile normalization to the data using the qsmooth package.
Below I will show how to apply qsmooth
to our filtered
counts and then calculate offsets to be used in downstream DE analysis
with edgeR
. Please note this is not a benchmarked
or ‘official’ workflow just a method that I have implemented
based on reading forums and github issues.
library(qsmooth)
# Compute the smooth quantile factors
qs <- qsmooth(y$counts, group_factor = y$samples$group)
# Extract the qsmooth transformed data
qsd <- qsmoothData(qs)
# Calculate offsets to be used by edgeR in place of norm.factors
# Offsets are on the natural log scale. Add a small offset to avoid
# taking logs of zero
offset <- log(y$counts + 0.1) - log(qsd + 0.1)
# Scale the offsets for internal usage by the DGEList object
# Now the object is ready for downstream analysis
y <- scaleOffset(y, offset = offset)
# To create logCPM values with the new norm factors use
lcpm <- cpm(y, offset = y$offset, log = TRUE)
Fit the model
New in edgeR 4.0 is the ability to estimate dispersions while performing the model fitting step. I typically tend to ‘robustify’ the fit to outliers. Below I will perform dispersion estimation in legacy mode so that we can use competitive gene set testing later. If we want to use the new workflow we can use the following:
# edgeR 4.0 workflow
fit <- glmQLFit(y, design, legacy = FALSE, robust = TRUE)
We will continue with the legacy workflow.
y <- estimateDisp(y, design, robust = TRUE)
fit <- glmQLFit(y, design, robust = TRUE, legacy = TRUE)
It’s always a good idea at this step to check some of the diagnostic plots from edgeR
# Show the biological coefficient of variation
plotBCV(y)
# Show the dispersion estimates
plotQLDisp(fit)
Test for differential expression
Now that the models have been fit we can test for differential expression.
# Test the treatment fs control condition
qlf <- glmQLFTest(fit, coef = 2)
Often it is more biologically relevant to give more weight to higher
fold changes. This can be acheived using glmTreat()
.
NOTE do not use glmQLFTest()
and then
filter by fold-change - you destroy the FDR correction!
When testing against a fold change we can use relatively modest
values since the fold change must exceed this threshold before being
considered for significance. Values such as log2(1.2)
or
log2(1.5)
work well in practice.
In any case, the results of the differential expression test can be
extracted to a data.frame for downstream plotting with
coriell::edger_to_df()
de_result <- edger_to_df(qlf)
Plotting DE results
The two most common plots for differential expression analysis
results are the volcano plot and the MA plot. Volcano plots display the
negative log10 of the significance value on the y-axis vs the log2
fold-change on the x-axis. MA plots show the average expression of the
gene on the x-axis vs the log2 fold-change of the gene on the y-axis.
The coriell
package includes functions for producing
both.
library(patchwork)
# Create a volcano plot of the results
v <- plot_volcano(de_result, fdr = 0.05) + theme_coriell()
# Create and MA plot of the results
m <- plot_md(de_result, fdr = 0.05) + theme_coriell()
# Patch both plots together
(v | m) +
plot_annotation(title = "Treatment vs. Control") &
theme_coriell()
Competitive gene set testing with camera()
I’ve recently become aware of some of the problems
with gene set enrichment analysis using the fgsea
package.
Following Gordon Smyth’s advice, I have switched all of my pipelines to
using competitive gene set testing (when appropriate) in
limma
to avoid problems with correlated genes.
Below we use the msigdb
R package to retrieve HALLMARK
gene sets and then use limma::camera()
for gene set
testing.
library(msigdb)
library(ExperimentHub)
library(GSEABase)
# Get the gene set data
msigdb_hs <- getMsigdb(org = "hs", id = "SYM", version = "7.5")
# Subset for only the HALLMARK sets
hallmark <- subsetCollection(msigdb_hs, "h")
# Extract the gene symbols for each set as a list
msigdb_ids <- geneIds(hallmark)
# Convert the gene sets into lists of indeces for edgeR
idx <- ids2indices(gene.sets = msigdb_ids, identifiers = y$genes$gene_name)
Perform gene set testing. Note here we can use
limma::camera()
limma::mroast()
, or
limma::romer()
depending on the hypothesis being tested.
The above setup code provides valid input for all of the above
functions.
See this comment
from Aaron Lun describing the difference between camera
and
roast
. For GSEA like hypothesis we can use
limma::romer()
roast()
performs a self-contained gene set test, where it looks for any DE within the set of genes.camera()
performs a competitive gene set test, where it compares the DE within the gene set to the DE outside of the gene set.
# Use camera to perform competitive gene set testing
camera_result <- camera(y, idx, design, contrast = 2)
# Use mroast for rotational gene set testing - bump up number of rotations
mroast_result <- mroast(y, idx, design, contrast = 2, nrot = 1e4)
# Use romer for GSEA like hypothesis testing
romer_result <- romer(y, idx, design, contrast = 2)
We can also perform a pre-ranked version of the camera test using
cameraPR()
. In order to use the pre-ranked version we need
to create a ranking statistic. The suggestion
from Gordon Smyth is to derive a z-statistic from the F-scores like
so:
t_stat <- sign(de_result$logFC) * sqrt(de_result$`F`)
z <- zscoreT(t_stat, df = qlf$df.total)
# Name the stat vector with the gene names
names(z) <- de_result$gene_name
# Use the z-scores as the ranking stat for cameraPR
camera_pr_result <- cameraPR(z, idx)
Another useful plot to show following gene set testing is a
barcodeplot. We The barcodeplot displays the enrichment of a given
signature for a ranked list of genes. The
limma::barcodeplot()
function allows us to easily create
these plots for any of the gene sets of interest using any ranking stat
of our choice.
# Show barcodeplot using the z-scores
barcodeplot(
z,
index = idx[["HALLMARK_ANDROGEN_RESPONSE"]],
main = "HALLMARK_ANDROGEN_RESPONSE",
xlab = "z-score"
)
# Or you can use the logFC
barcodeplot(
de_result$logFC,
index = idx[["HALLMARK_ANDROGEN_RESPONSE"]],
main = "HALLMARK_ANDROGEN_RESPONSE",
xlab = "logFC"
)
Gene ontology (GO) over representation test
Over representation analysis can be performed with the
clusterProfiler
package. Here, instead of using the entire
gene list as input we select separate sets of up and down-regulated
genes and test to see if these sets are enriched in our differentially
expressed gene list.
library(clusterProfiler)
library(org.Hs.eg.db)
# Split the genes into up and down
up_genes <- subset(
de_result,
FDR < 0.05 & logFC > 0,
"gene_name",
drop = TRUE
)
down_genes <- subset(
de_result,
FDR < 0.05 & logFC < 0,
"gene_name",
drop = TRUE
)
# Extract the list of all genes expressed in the experiment
# to use as a background set
universe <- unique(y$genes$gene_name)
Create results objects for each set of genes
ego_up <- enrichGO(
gene = up_genes,
universe = universe,
OrgDb = org.Hs.eg.db,
keyType = "SYMBOL",
ont = "ALL",
pAdjustMethod = "BH",
pvalueCutoff = 0.01,
qvalueCutoff = 0.05,
readable = TRUE
)
ego_down <- enrichGO(
gene = down_genes,
universe = universe,
OrgDb = org.Hs.eg.db,
keyType = "SYMBOL",
ont = "ALL",
pAdjustMethod = "BH",
pvalueCutoff = 0.01,
qvalueCutoff = 0.05,
readable = TRUE
)
These results can be converted to data.frames and combined with:
ego_up_df <- data.frame(ego_up)
ego_down_df <- data.frame(ego_down)
ego_df <- data.table::rbindlist(
list(up = ego_up_df, down = ego_down_df),
idcol = "Direction"
)
Or the results can be plotted as dotplots with:
d1 <- dotplot(ego_up) + labs(title = "Up-regulated genes")
d2 <- dotplot(ego_down) + labs(title = "Down-regulated genes")
d1 | d2
You can also create a nice enrichment map showing similarity between the significant GO terms like so:
em_up <- enrichplot::pairwise_termsim(ego_up)
em_down <- enrichplot::pairwise_termsim(ego_down)
p1 <- enrichplot::emapplot(em_up, showCategory = 10, edge.params = list(min = 0.5)) +
labs(title = "Up-regulated genes")
p2 <- enrichplot::emapplot(em_down, showCategory = 10, edge.params = list(min = 0.5)) +
labs(title = "Down-regulated genes")
p1 | p2
Session Info
sessionInfo()
#> R version 4.4.1 (2024-06-14)
#> Platform: x86_64-apple-darwin20
#> Running under: macOS Sonoma 14.5
#>
#> Matrix products: default
#> BLAS: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRblas.0.dylib
#> LAPACK: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.0
#>
#> locale:
#> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
#>
#> time zone: America/New_York
#> tzcode source: internal
#>
#> attached base packages:
#> [1] stats4 stats graphics grDevices utils datasets methods
#> [8] base
#>
#> other attached packages:
#> [1] org.Hs.eg.db_3.19.1 clusterProfiler_4.12.0
#> [3] GSEABase_1.66.0 graph_1.82.0
#> [5] annotate_1.82.0 XML_3.99-0.17
#> [7] AnnotationDbi_1.66.0 ExperimentHub_2.12.0
#> [9] AnnotationHub_3.12.0 BiocFileCache_2.12.0
#> [11] dbplyr_2.5.0 msigdb_1.12.0
#> [13] patchwork_1.2.0 quantro_1.38.0
#> [15] PCAtools_2.16.0 ggrepel_0.9.5
#> [17] coriell_0.15.0 ggplot2_3.5.1
#> [19] edgeR_4.2.0 limma_3.60.3
#> [21] airway_1.24.0 SummarizedExperiment_1.34.0
#> [23] Biobase_2.64.0 GenomicRanges_1.56.1
#> [25] GenomeInfoDb_1.40.1 IRanges_2.38.1
#> [27] S4Vectors_0.42.1 BiocGenerics_0.50.0
#> [29] MatrixGenerics_1.16.0 matrixStats_1.3.0
#>
#> loaded via a namespace (and not attached):
#> [1] fs_1.6.4 bitops_1.0-7
#> [3] enrichplot_1.24.0 HDO.db_0.99.1
#> [5] httr_1.4.7 RColorBrewer_1.1-3
#> [7] doParallel_1.0.17 tools_4.4.1
#> [9] doRNG_1.8.6 utf8_1.2.4
#> [11] R6_2.5.1 HDF5Array_1.32.0
#> [13] lazyeval_0.2.2 rhdf5filters_1.16.0
#> [15] withr_3.0.0 gridExtra_2.3
#> [17] base64_2.0.1 preprocessCore_1.66.0
#> [19] cli_3.6.3 textshaping_0.4.0
#> [21] scatterpie_0.2.3 labeling_0.4.3
#> [23] sass_0.4.9 readr_2.1.5
#> [25] genefilter_1.86.0 askpass_1.2.0
#> [27] pkgdown_2.1.0 Rsamtools_2.20.0
#> [29] systemfonts_1.1.0 yulab.utils_0.1.4
#> [31] gson_0.1.0 siggenes_1.78.0
#> [33] illuminaio_0.46.0 DOSE_3.30.1
#> [35] scrime_1.3.5 rstudioapi_0.16.0
#> [37] RSQLite_2.3.7 gridGraphics_0.5-1
#> [39] generics_0.1.3 BiocIO_1.14.0
#> [41] dplyr_1.1.4 GO.db_3.19.1
#> [43] Matrix_1.7-0 fansi_1.0.6
#> [45] abind_1.4-5 lifecycle_1.0.4
#> [47] yaml_2.3.9 rhdf5_2.48.0
#> [49] qvalue_2.36.0 SparseArray_1.4.8
#> [51] grid_4.4.1 blob_1.2.4
#> [53] dqrng_0.4.1 crayon_1.5.3
#> [55] lattice_0.22-6 beachmat_2.20.0
#> [57] cowplot_1.1.3 GenomicFeatures_1.56.0
#> [59] KEGGREST_1.44.1 pillar_1.9.0
#> [61] knitr_1.48 beanplot_1.3.1
#> [63] fgsea_1.30.0 rjson_0.2.21
#> [65] codetools_0.2-20 fastmatch_1.1-4
#> [67] glue_1.7.0 ggfun_0.1.5
#> [69] data.table_1.15.4 treeio_1.28.0
#> [71] vctrs_0.6.5 png_0.1-8
#> [73] gtable_0.3.5 cachem_1.1.0
#> [75] xfun_0.45 S4Arrays_1.4.1
#> [77] mime_0.12 tidygraph_1.3.1
#> [79] survival_3.6-4 pheatmap_1.0.12
#> [81] iterators_1.0.14 statmod_1.5.0
#> [83] nlme_3.1-164 ggtree_3.12.0
#> [85] bit64_4.0.5 filelock_1.0.3
#> [87] bslib_0.7.0 nor1mix_1.3-3
#> [89] irlba_2.3.5.1 colorspace_2.1-0
#> [91] DBI_1.2.3 tidyselect_1.2.1
#> [93] bit_4.0.5 compiler_4.4.1
#> [95] curl_5.2.1 xml2_1.3.6
#> [97] desc_1.4.3 DelayedArray_0.30.1
#> [99] shadowtext_0.1.3 rtracklayer_1.64.0
#> [101] scales_1.3.0 quadprog_1.5-8
#> [103] rappdirs_0.3.3 stringr_1.5.1
#> [105] digest_0.6.36 rmarkdown_2.27
#> [107] GEOquery_2.72.0 XVector_0.44.0
#> [109] htmltools_0.5.8.1 pkgconfig_2.0.3
#> [111] sparseMatrixStats_1.16.0 highr_0.11
#> [113] fastmap_1.2.0 rlang_1.1.4
#> [115] htmlwidgets_1.6.4 UCSC.utils_1.0.0
#> [117] DelayedMatrixStats_1.26.0 farver_2.1.2
#> [119] jquerylib_0.1.4 jsonlite_1.8.8
#> [121] BiocParallel_1.38.0 mclust_6.1.1
#> [123] GOSemSim_2.30.0 BiocSingular_1.20.0
#> [125] RCurl_1.98-1.14 magrittr_2.0.3
#> [127] ggplotify_0.1.2 GenomeInfoDbData_1.2.12
#> [129] Rhdf5lib_1.26.0 munsell_0.5.1
#> [131] Rcpp_1.0.12 ggnewscale_0.4.10
#> [133] ape_5.8 viridis_0.6.5
#> [135] stringi_1.8.4 ggraph_2.2.1
#> [137] zlibbioc_1.50.0 MASS_7.3-60.2
#> [139] plyr_1.8.9 bumphunter_1.46.0
#> [141] minfi_1.50.0 parallel_4.4.1
#> [143] Biostrings_2.72.1 graphlayouts_1.1.1
#> [145] splines_4.4.1 multtest_2.60.0
#> [147] hms_1.1.3 locfit_1.5-9.10
#> [149] igraph_2.0.3 rngtools_1.5.2
#> [151] reshape2_1.4.4 ScaledMatrix_1.12.0
#> [153] BiocVersion_3.19.1 evaluate_0.24.0
#> [155] BiocManager_1.30.23 tzdb_0.4.0
#> [157] foreach_1.5.2 tweenr_2.0.3
#> [159] tidyr_1.3.1 openssl_2.2.0
#> [161] purrr_1.0.2 polyclip_1.10-6
#> [163] reshape_0.8.9 ggforce_0.4.2
#> [165] rsvd_1.0.5 xtable_1.8-4
#> [167] restfulr_0.0.15 tidytree_0.4.6
#> [169] viridisLite_0.4.2 ragg_1.3.2
#> [171] tibble_3.2.1 aplot_0.2.3
#> [173] memoise_2.0.1 GenomicAlignments_1.40.0