Last updated: 2026-12-02

Checks: 7 0

Knit directory: muse/

This reproducible R Markdown analysis was created with workflowr (version 1.7.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20200712) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version c83ed23. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rproj.user/
    Ignored:    data/1M_neurons_filtered_gene_bc_matrices_h5.h5
    Ignored:    data/293t/
    Ignored:    data/293t_3t3_filtered_gene_bc_matrices.tar.gz
    Ignored:    data/293t_filtered_gene_bc_matrices.tar.gz
    Ignored:    data/5k_Human_Donor1_PBMC_3p_gem-x_5k_Human_Donor1_PBMC_3p_gem-x_count_sample_filtered_feature_bc_matrix.h5
    Ignored:    data/5k_Human_Donor2_PBMC_3p_gem-x_5k_Human_Donor2_PBMC_3p_gem-x_count_sample_filtered_feature_bc_matrix.h5
    Ignored:    data/5k_Human_Donor3_PBMC_3p_gem-x_5k_Human_Donor3_PBMC_3p_gem-x_count_sample_filtered_feature_bc_matrix.h5
    Ignored:    data/5k_Human_Donor4_PBMC_3p_gem-x_5k_Human_Donor4_PBMC_3p_gem-x_count_sample_filtered_feature_bc_matrix.h5
    Ignored:    data/97516b79-8d08-46a6-b329-5d0a25b0be98.h5ad
    Ignored:    data/Parent_SC3v3_Human_Glioblastoma_filtered_feature_bc_matrix.tar.gz
    Ignored:    data/brain_counts/
    Ignored:    data/cl.obo
    Ignored:    data/cl.owl
    Ignored:    data/jurkat/
    Ignored:    data/jurkat:293t_50:50_filtered_gene_bc_matrices.tar.gz
    Ignored:    data/jurkat_293t/
    Ignored:    data/jurkat_filtered_gene_bc_matrices.tar.gz
    Ignored:    data/pbmc20k/
    Ignored:    data/pbmc20k_seurat/
    Ignored:    data/pbmc3k.csv
    Ignored:    data/pbmc3k.csv.gz
    Ignored:    data/pbmc3k.h5ad
    Ignored:    data/pbmc3k/
    Ignored:    data/pbmc3k_bpcells_mat/
    Ignored:    data/pbmc3k_export.mtx
    Ignored:    data/pbmc3k_matrix.mtx
    Ignored:    data/pbmc3k_seurat.rds
    Ignored:    data/pbmc4k_filtered_gene_bc_matrices.tar.gz
    Ignored:    data/pbmc_1k_v3_filtered_feature_bc_matrix.h5
    Ignored:    data/pbmc_1k_v3_raw_feature_bc_matrix.h5
    Ignored:    data/seurat_1m_neuron.rds
    Ignored:    data/t_3k_filtered_gene_bc_matrices.tar.gz
    Ignored:    r_packages_4.5.2/

Untracked files:
    Untracked:  .claude/
    Untracked:  CLAUDE.md
    Untracked:  analysis/.claude/
    Untracked:  analysis/aucc.Rmd
    Untracked:  analysis/bimodal.Rmd
    Untracked:  analysis/bioc.Rmd
    Untracked:  analysis/bioc_scrnaseq.Rmd
    Untracked:  analysis/chick_weight.Rmd
    Untracked:  analysis/likelihood.Rmd
    Untracked:  analysis/modelling.Rmd
    Untracked:  analysis/rsem.merged.gene_counts.tsv
    Untracked:  analysis/sampleqc.Rmd
    Untracked:  analysis/wordpress_readability.Rmd
    Untracked:  bpcells_matrix/
    Untracked:  data/Caenorhabditis_elegans.WBcel235.113.gtf.gz
    Untracked:  data/GCF_043380555.1-RS_2024_12_gene_ontology.gaf.gz
    Untracked:  data/SC3pv3_GEX_Human_PBMC_filtered_feature_bc_matrix.h5
    Untracked:  data/SC3pv3_GEX_Human_PBMC_raw_feature_bc_matrix.h5
    Untracked:  data/SeuratObj.rds
    Untracked:  data/arab.rds
    Untracked:  data/astronomicalunit.csv
    Untracked:  data/azimuth_pbmc/
    Untracked:  data/davetang039sblog.WordPress.2026-02-12.xml
    Untracked:  data/femaleMiceWeights.csv
    Untracked:  data/lung_bcell.rds
    Untracked:  data/tmp/
    Untracked:  m3/
    Untracked:  output/decontx_corrected.rds
    Untracked:  output/dropletutils_cells.rds
    Untracked:  output/soupx_corrected.rds
    Untracked:  posts/
    Untracked:  women.json

Unstaged changes:
    Modified:   analysis/isoform_switch_analyzer.Rmd

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/edger_de.Rmd) and HTML (docs/edger_de.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd c83ed23 Dave Tang 2026-12-02 Include paired design
html 0dcd9d3 Dave Tang 2025-01-10 Build site.
Rmd 8aed681 Dave Tang 2025-01-10 Add TL;DR section
html c4e09b7 Dave Tang 2024-10-31 Build site.
Rmd 04948c5 Dave Tang 2024-10-31 Export edgeR results
html cfbb929 Dave Tang 2024-10-31 Build site.
Rmd 92b951c Dave Tang 2024-10-31 Export edgeR results
html 6aa4e2d Dave Tang 2024-10-22 Build site.
Rmd dda9d85 Dave Tang 2024-10-22 Visualise DEGs
html 6625ffc Dave Tang 2024-10-22 Build site.
Rmd 3661a2e Dave Tang 2024-10-22 Additional sample
html c9037d1 Dave Tang 2024-10-22 Build site.
Rmd f7369ce Dave Tang 2024-10-22 Differential gene expression analysis using edgeR

edgeR carries out:

Differential expression analysis of RNA-seq expression profiles with biological replication. Implements a range of statistical methodology based on the negative binomial distributions, including empirical Bayes estimation, exact tests, generalized linear models and quasi-likelihood tests. As well as RNA-seq, it be applied to differential signal analysis of other types of genomic data that produce read counts, including ChIP-seq, ATAC-seq, Bisulfite-seq, SAGE and CAGE.

edgeR Manual.

TL;DR

edgeR offers many variants on analyses. The glm approach is more popular than the classic approach as it offers great flexibilities. There are two testing methods under the glm framework: likelihood ratio tests and quasi-likelihood F-tests. The quasi-likelihood (QL) method is highly recommended for differential expression analyses of bulk RNA-seq data as it gives stricter error rate control by accounting for the uncertainty in dispersion estimation. The likelihood ratio test can be useful in some special cases such as single cell RNA-seq and datasets with no replicates.

  1. Create DGEList object using a count table and a grouping factor.
  2. Remove genes that are lowly expressed.
  3. Normalise data using normLibSizes().
  4. Create design matrix using model.matrix().
  5. Estimate dispersions using estimateDisp().
  6. Fit model using the read counts using glmQLFit().
  7. Conduct F-tests using glmQLFTest().

Installation

Install using BiocManager::install().

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("edgeR")

Data

Use data from An example RNA-seq count table using nf-core/rnaseq.

my_url <- 'https://zenodo.org/records/24731121/files/rsem.merged.gene_counts.tsv?download=1'
my_file <- 'rsem.merged.gene_counts.tsv'

if(file.exists(my_file) == FALSE){
  download.file(url = my_url, destfile = my_file)
}

gene_counts <- read_tsv("rsem.merged.gene_counts.tsv", show_col_types = FALSE)
head(gene_counts)
# A tibble: 6 × 10
  gene_id   `transcript_id(s)` ERR164473 ERR164474 ERR164475 ERR164476 ERR164550
  <chr>     <chr>                  <dbl>     <dbl>     <dbl>     <dbl>     <dbl>
1 ENSG0000… ENST00000373020,E…     374        613       861       669      1637 
2 ENSG0000… ENST00000373031,E…       0          1         0         0         1 
3 ENSG0000… ENST00000371582,E…     489        870       804       715       637 
4 ENSG0000… ENST00000367770,E…     363.       661.      599.      532.      606.
5 ENSG0000… ENST00000286031,E…      85.4      167.      166.      111.      312.
6 ENSG0000… ENST00000374003,E…    1181       4242      1568      1395       423 
# ℹ 3 more variables: ERR164551 <dbl>, ERR164552 <dbl>, ERR164554 <dbl>

Metadata. Each patient (C1, C2, C3 and C5) has a normal and a cancer sample, so the samples are paired.

tibble::tribble(
  ~sample, ~run_id, ~patient, ~group,
  "C1_norm", "ERR164473", "C1", "normal",
  "C2_norm", "ERR164474", "C2", "normal",
  "C3_norm", "ERR164475", "C3", "normal",
  "C5_norm", "ERR164476", "C5", "normal",
  "C1_cancer", "ERR164550", "C1", "cancer",
  "C2_cancer", "ERR164551", "C2", "cancer",
  "C3_cancer", "ERR164552", "C3", "cancer",
  "C5_cancer", "ERR164554", "C5", "cancer"
) -> my_metadata

stopifnot(my_metadata$run_id %in% colnames(gene_counts))

my_metadata$patient <- factor(my_metadata$patient)
my_metadata$group <- factor(my_metadata$group, levels = c('normal', 'cancer'))

DGEList

The input to edgeR is the DGEList object. The required inputs for creating a DGEList object is the count table and a grouping factor.

gene_counts |>
  dplyr::select(starts_with("ERR")) |>
  mutate(across(everything(), as.integer)) |>
  as.matrix() -> gene_counts_mat

row.names(gene_counts_mat) <- gene_counts$gene_id

idx <- match(colnames(gene_counts_mat), my_metadata$run_id)
colnames(gene_counts_mat) <- my_metadata$sample[idx]

y <- DGEList(
  counts = gene_counts_mat,
  group = my_metadata$group[idx]
)

y
An object of class "DGEList"
$counts
                C1_norm C2_norm C3_norm C5_norm C1_cancer C2_cancer C3_cancer
ENSG00000000003     374     613     861     669      1637       650      1015
ENSG00000000005       0       1       0       0         1         0         0
ENSG00000000419     489     870     804     715       637       879      1157
ENSG00000000457     362     660     599     532       605       708       632
ENSG00000000460      85     167     165     110       312       239       147
                C5_cancer
ENSG00000000003       562
ENSG00000000005         0
ENSG00000000419       729
ENSG00000000457       478
ENSG00000000460       156
63135 more rows ...

$samples
           group lib.size norm.factors
C1_norm   normal 15972904            1
C2_norm   normal 29506577            1
C3_norm   normal 25765949            1
C5_norm   normal 22285853            1
C1_cancer cancer 22329493            1
C2_cancer cancer 29928921            1
C3_cancer cancer 24891206            1
C5_cancer cancer 23703606            1

Filtering to remove low counts

Remove genes that are lowly expressed.

keep <- filterByExpr(y)
y <- y[keep, , keep.lib.sizes=FALSE]
y
An object of class "DGEList"
$counts
                C1_norm C2_norm C3_norm C5_norm C1_cancer C2_cancer C3_cancer
ENSG00000000003     374     613     861     669      1637       650      1015
ENSG00000000419     489     870     804     715       637       879      1157
ENSG00000000457     362     660     599     532       605       708       632
ENSG00000000460      85     167     165     110       312       239       147
ENSG00000000938    1181    4242    1568    1395       423      3346      1249
                C5_cancer
ENSG00000000003       562
ENSG00000000419       729
ENSG00000000457       478
ENSG00000000460       156
ENSG00000000938      1149
20062 more rows ...

$samples
           group lib.size norm.factors
C1_norm   normal 15949135            1
C2_norm   normal 29464252            1
C3_norm   normal 25716647            1
C5_norm   normal 22243867            1
C1_cancer cancer 22255843            1
C2_cancer cancer 29875124            1
C3_cancer cancer 24840494            1
C5_cancer cancer 23664055            1

Normalisation for composition bias

The normLibSizes() function normalizes the library sizes in such a way to minimize the log-fold changes between the samples for most genes. The default method for computing these scale factors uses a trimmed mean of M-values (TMM) between each pair of samples. We call the product of the original library size and the scaling factor the effective library size, i.e., the normalized library size. The effective library size replaces the original library size in all downstream analyses

y <- normLibSizes(y)
y
An object of class "DGEList"
$counts
                C1_norm C2_norm C3_norm C5_norm C1_cancer C2_cancer C3_cancer
ENSG00000000003     374     613     861     669      1637       650      1015
ENSG00000000419     489     870     804     715       637       879      1157
ENSG00000000457     362     660     599     532       605       708       632
ENSG00000000460      85     167     165     110       312       239       147
ENSG00000000938    1181    4242    1568    1395       423      3346      1249
                C5_cancer
ENSG00000000003       562
ENSG00000000419       729
ENSG00000000457       478
ENSG00000000460       156
ENSG00000000938      1149
20062 more rows ...

$samples
           group lib.size norm.factors
C1_norm   normal 15949135    1.0228107
C2_norm   normal 29464252    0.9900036
C3_norm   normal 25716647    1.0502059
C5_norm   normal 22243867    1.0756632
C1_cancer cancer 22255843    0.9845028
C2_cancer cancer 29875124    0.9539714
C3_cancer cancer 24840494    0.9817350
C5_cancer cancer 23664055    0.9481361

MDS

plotMDS(y, plot = FALSE)$eigen.vectors[, 1:2] |>
  as.data.frame() |>
  cbind(my_metadata) |>
  dplyr::rename(`Eigenvector 1` = V1, `Eigenvector 2` = V2) |>
  ggplot(aes(`Eigenvector 1`, `Eigenvector 2`, colour = group, label = sample)) +
  geom_point(size = 2) +
  geom_text_repel(show.legend = FALSE) +
  theme_minimal() +
  ggtitle("MDS plot")

Version Author Date
0dcd9d3 Dave Tang 2025-01-10
6625ffc Dave Tang 2024-10-22
c9037d1 Dave Tang 2024-10-22

Differential expression

Follow {edgeR} Quick start guide, which recommends using the quasi-likelihood (QL) method for differential expression analyses of bulk RNA-seq data.

design <- model.matrix(~y$samples$group)
y <- estimateDisp(y, design, robust=TRUE)
fit <- glmQLFit(y, design, robust=TRUE)
res <- glmQLFTest(fit)
topTags(res)
Coefficient:  y$samples$groupcancer 
                   logFC      logCPM         F       PValue         FDR
ENSG00000211662 4.547887  3.71144532 153.22667 6.623051e-07 0.005703557
ENSG00000198796 5.358886  0.07610332  71.03569 7.842403e-07 0.005703557
ENSG00000159958 4.104556  2.57111510 137.28294 1.094628e-06 0.005703557
ENSG00000211611 4.591594  0.38487677  82.10122 1.273496e-06 0.005703557
ENSG00000105369 3.681918  4.11199683 121.64295 1.698432e-06 0.005703557
ENSG00000156234 8.490991  4.42927799  83.43573 1.954997e-06 0.005703557
ENSG00000132185 4.302385  2.09827801 117.58595 2.049359e-06 0.005703557
ENSG00000100985 5.306721  5.51410964 113.46192 2.273806e-06 0.005703557
ENSG00000204382 7.808663  3.59789294  67.92289 4.116958e-06 0.009179443
ENSG00000290027 4.035334 -1.33845161  51.88612 6.442402e-06 0.010645170

CPM.

my_cpms <- cpm(y, prior.count=2, log=TRUE)
head(my_cpms)
                 C1_norm  C2_norm  C3_norm  C5_norm C1_cancer C2_cancer
ENSG00000000003 4.524139 4.399005 4.998301 4.809557  6.224854  4.516622
ENSG00000000419 4.909716 4.902463 4.899747 4.905220  4.865664  4.950688
ENSG00000000457 4.477262 4.505181 4.476474 4.480071  4.791522  4.639505
ENSG00000000460 2.404142 2.537976 2.630399 2.226495  3.840169  3.082120
ENSG00000000938 6.179493 7.184949 5.861458 5.867530  4.277095  6.876346
ENSG00000000971 7.612457 6.886152 6.954742 7.601204  7.184318  7.271824
                C3_cancer C5_cancer
ENSG00000000003  5.382097  4.651386
ENSG00000000419  5.570656  5.025647
ENSG00000000457  4.700345  4.418659
ENSG00000000460  2.611285  2.814653
ENSG00000000938  5.680856  5.680697
ENSG00000000971  7.475457  7.587973

Top 20 down-regulated genes with respect to the cancer group. No down-regulated genes pass FDR < 0.01 in this dataset, so use FDR < 0.05. pheatmap() needs at least two genes to cluster, so the heatmap is skipped if fewer pass; drop = FALSE keeps a single gene as a one-row matrix instead of a vector.

topTags(res, n = Inf) |>
  as.data.frame() |>
  dplyr::filter(FDR < 0.05) |>
  dplyr::filter(logFC < 0) |>
  dplyr::slice_min(order_by = FDR, n = 20, with_ties = FALSE) |>
  row.names() -> down_genes

if (length(down_genes) >= 2) {
  my_cpms[down_genes, , drop = FALSE] |>
    pheatmap()
} else {
  message(length(down_genes), " down-regulated genes at FDR < 0.05; heatmap skipped")
}

Version Author Date
0dcd9d3 Dave Tang 2025-01-10
cfbb929 Dave Tang 2024-10-31
6aa4e2d Dave Tang 2024-10-22

Top 20 up-regulated genes with respect to the cancer group.

topTags(res, n = Inf) |>
  as.data.frame() |>
  dplyr::filter(FDR < 0.05) |>
  dplyr::filter(logFC > 0) |>
  dplyr::slice_min(order_by = FDR, n = 20, with_ties = FALSE) |>
  row.names() -> up_genes

if (length(up_genes) >= 2) {
  my_cpms[up_genes, , drop = FALSE] |>
    pheatmap()
} else {
  message(length(up_genes), " up-regulated genes at FDR < 0.05; heatmap skipped")
}

Version Author Date
0dcd9d3 Dave Tang 2025-01-10
cfbb929 Dave Tang 2024-10-31
6aa4e2d Dave Tang 2024-10-22

Paired design

The model above (~group) treats the eight samples as independent, so differences between patients end up in the dispersion. Adding patient to the design compares cancer with normal within each patient.

Keep the filtering as it is. filterByExpr(y) used the group factor stored in y, so a gene had to pass the CPM cutoff in at least 4 samples (the smallest group). Passing the paired design instead, filterByExpr(y, design_paired), would only require 2 samples: every sample’s leverage is 5/8 in this design, and the minimum sample size becomes 1/(5/8) = 1.6. Adding patient to the model shouldn’t make the filter looser.

patient <- my_metadata$patient[idx]
group <- y$samples$group
design_paired <- model.matrix(~patient + group)
design_paired
  (Intercept) patientC2 patientC3 patientC5 groupcancer
1           1         0         0         0           0
2           1         1         0         0           0
3           1         0         1         0           0
4           1         0         0         1           0
5           1         0         0         0           1
6           1         1         0         0           1
7           1         0         1         0           1
8           1         0         0         1           1
attr(,"assign")
[1] 0 1 1 1 2
attr(,"contrasts")
attr(,"contrasts")$patient
[1] "contr.treatment"

attr(,"contrasts")$group
[1] "contr.treatment"

The patient columns absorb each patient’s baseline expression, and the last column, groupcancer, is the cancer vs. normal log fold change within patients. Test that coefficient.

y_paired <- estimateDisp(y, design_paired, robust=TRUE)
fit_paired <- glmQLFit(y_paired, design_paired, robust=TRUE)
res_paired <- glmQLFTest(fit_paired, coef = "groupcancer")
topTags(res_paired)
Coefficient:  groupcancer 
                   logFC     logCPM        F       PValue         FDR
ENSG00000156234 8.556204 4.42970495 317.9966 1.172184e-07 0.001958849
ENSG00000211950 5.547727 3.57319224 343.9718 2.774409e-07 0.001958849
ENSG00000211655 7.012841 3.42511977 145.1953 2.928464e-07 0.001958849
ENSG00000211662 4.521196 3.71158701 282.5965 1.548204e-06 0.006834864
ENSG00000117322 5.757728 2.74846908 192.4771 1.796430e-06 0.006834864
ENSG00000204382 7.641126 3.59777743 132.2309 2.344655e-06 0.006834864
ENSG00000240671 4.922851 0.23773553 117.8018 2.384215e-06 0.006834864
ENSG00000131747 3.044657 5.67196837 204.6422 4.182612e-06 0.010427203
ENSG00000198796 5.284641 0.07859198  75.3641 4.676575e-06 0.010427203
ENSG00000196092 4.142538 2.27750085 181.6173 6.337705e-06 0.012717872

Compare the two models: the biological coefficient of variation (BCV, the square root of the common dispersion), the residual degrees of freedom, and the number of differentially expressed genes at FDR < 0.05.

sqrt(c(unpaired = y$common.dispersion, paired = y_paired$common.dispersion))
 unpaired    paired 
0.4283253 0.3631355 
c(unpaired = ncol(y) - ncol(design), paired = ncol(y) - ncol(design_paired))
unpaired   paired 
       6        3 
cbind(
  unpaired = summary(decideTests(res, p.value = 0.05))[, 1],
  paired = summary(decideTests(res_paired, p.value = 0.05))[, 1]
)
       unpaired paired
Down        387    233
NotSig    19182  19391
Up          498    443

Accounting for patient lowers the BCV, but the paired model calls fewer genes. The patient terms use 3 of the 6 residual degrees of freedom, and the power of the QL F-test depends on them. Pairing pays off when patients differ a lot relative to the degrees of freedom it costs; with four patients here, it doesn’t.

Export results

Results are stored in res.

class(res)
[1] "DGELRT"
attr(,"package")
[1] "edgeR"

Specifically, in res$table.

head(res$table)
                      logFC   logCPM         F     PValue
ENSG00000000003  0.66043326 5.069393 3.2476026 0.10532560
ENSG00000000419  0.22747000 5.022194 1.6716143 0.22851211
ENSG00000000457  0.15959424 4.566575 1.3499280 0.27542400
ENSG00000000460  0.71427767 2.855772 5.6313698 0.04193203
ENSG00000000938 -0.48227379 6.165046 0.8959804 0.36878723
ENSG00000000971  0.08486545 7.347079 0.1579209 0.70041598

Add adjusted p-values and export.

res$table |>
  dplyr::mutate(adjusted_pvalue = p.adjust(PValue, method = "BH")) |>
  tibble::rownames_to_column("ensembl_gene_id") |>
  readr::write_csv(file = "data/24731121_edger_res.csv")

Export the paired results in the same way.

res_paired$table |>
  dplyr::mutate(adjusted_pvalue = p.adjust(PValue, method = "BH")) |>
  tibble::rownames_to_column("ensembl_gene_id") |>
  readr::write_csv(file = "data/24731121_edger_paired_res.csv")

sessionInfo()
R version 4.5.2 (2025-10-31)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 24.04.4 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so;  LAPACK version 3.12.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

time zone: Etc/UTC
tzcode source: system (glibc)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] pheatmap_1.0.13 ggrepel_0.9.8   edgeR_4.8.2     limma_3.66.0   
 [5] lubridate_1.9.5 forcats_1.0.1   stringr_1.6.0   dplyr_1.2.1    
 [9] purrr_1.2.2     readr_2.1.6     tidyr_1.3.2     tibble_3.3.1   
[13] ggplot2_4.0.3   tidyverse_2.0.0 workflowr_1.7.2

loaded via a namespace (and not attached):
 [1] gtable_0.3.6       xfun_0.60          bslib_0.11.0       processx_3.8.6    
 [5] lattice_0.22-7     callr_3.7.6        tzdb_0.5.0         vctrs_0.7.3       
 [9] tools_4.5.2        ps_1.9.1           generics_0.1.4     parallel_4.5.2    
[13] pkgconfig_2.0.3    RColorBrewer_1.1-3 S7_0.2.2           lifecycle_1.0.5   
[17] compiler_4.5.2     farver_2.1.2       git2r_0.36.2       statmod_1.5.1     
[21] getPass_0.2-4      httpuv_1.6.17      htmltools_0.5.9    sass_0.4.10       
[25] yaml_2.3.12        later_1.4.8        pillar_1.11.1      crayon_1.5.3      
[29] jquerylib_0.1.4    whisker_0.4.1      cachem_1.1.0       tidyselect_1.2.1  
[33] locfit_1.5-9.12    digest_0.6.39      stringi_1.8.7      labeling_0.4.3    
[37] rprojroot_2.1.1    fastmap_1.2.0      grid_4.5.2         cli_3.6.6         
[41] magrittr_2.0.5     utf8_1.2.6         withr_3.0.3        scales_1.4.0      
[45] promises_1.5.0     bit64_4.8.2        timechange_0.4.0   rmarkdown_2.31    
[49] httr_1.4.8         bit_4.6.0          otel_0.2.0         hms_1.1.4         
[53] evaluate_1.0.5     knitr_1.51         rlang_1.3.0        Rcpp_1.1.2        
[57] glue_1.8.1         rstudioapi_0.18.0  vroom_1.7.0        jsonlite_2.0.0    
[61] R6_2.6.1           fs_2.1.0