vignettes/articles/CosMxMultiSample.Rmd
CosMxMultiSample.RmdThis tutorial compares continuous cell states across eight CosMx non-small cell lung cancer tissue sections from He et al. (2022). We characterise tumour signatures, identify niches jointly across sections, and compare correlations between cell state scores within those niches.
The analysis is adapted from the 2025
spatial analysis workshop by Jiadong Mao and Yifan Qin, preserved at
tag mig2025 (commit 49debcb8). It uses the
workshop’s 50% subsample: 350,228 segmented cells and 81
scores from five references. Four references cover immune,
epithelial, endothelial and mesenchymal lineages in lung fibrosis (Natri et al.,
2024); the fifth is the lung cancer atlas of Salcher et
al. (2022).
These are different inputs from the four-reference CosMx case study. The supplied objects contain coordinates, metadata and precomputed PhiSpace scores, with a placeholder expression assay. We retain the saved niche memberships for the workshop example, recompute signatures and correlation analyses, and compare a fresh joint clustering with the saved partition. We cannot retrain the annotation from these objects. For training and applying models, see Stored PhiSpace models.
From a checkout of the PhiSpace repository, run
Rscript --vanilla scripts/prepare-cosmx-multisample.R. This
downloads four historical files from the pinned commit, verifies their
SHA-256 checksums, and converts them to qs2, checking that
each restored object is identical. The current workshop package is not
needed. Set PHISPACE_COSMX_MULTISAMPLE_DATA to the prepared
folder when running this article directly; its default is
Test/cosmx-multisample-inputs.
library(PhiSpace)
library(SpatialExperiment)
library(ggplot2)
library(qs2)
library(vizOmics)
dat_dir <- Sys.getenv("PHISPACE_COSMX_MULTISAMPLE_DATA",
"Test/cosmx-multisample-inputs")
allTissues <- qs_read(file.path(dat_dir, "allTissues.qs2"), validate_checksum = TRUE)
historical <- qs_read(file.path(dat_dir, "historical-clusters.qs2"),
validate_checksum = TRUE)
out_dir <- file.path(dat_dir, "output")
dir.create(out_dir, recursive = TRUE, showWarnings = FALSE)
tissueNames <- c("Lung5_Rep1", "Lung5_Rep2", "Lung5_Rep3", "Lung6",
"Lung9_Rep1", "Lung9_Rep2", "Lung12", "Lung13")
stopifnot(identical(names(allTissues), tissueNames))
cell_ids <- unlist(lapply(allTissues, colnames), use.names = FALSE)
score_names <- colnames(reducedDim(allTissues[[1]], "PhiSpace"))
stopifnot(length(cell_ids) == 350228L, !anyDuplicated(cell_ids),
length(score_names) == 81L,
identical(cell_ids, names(historical$clusters)))
for (spe in allTissues) {
score <- reducedDim(spe, "PhiSpace")
stopifnot(identical(rownames(score), colnames(spe)),
identical(colnames(score), score_names), all(is.finite(score)))
}
knitr::kable(data.frame(section = tissueNames,
cells = vapply(allTissues, ncol, integer(1))), row.names = FALSE)| section | cells |
|---|---|
| Lung5_Rep1 | 46526 |
| Lung5_Rep2 | 48726 |
| Lung5_Rep3 | 45772 |
| Lung6 | 41858 |
| Lung9_Rep1 | 38522 |
| Lung9_Rep2 | 57442 |
| Lung12 | 33202 |
| Lung13 | 38180 |
Sections from the same lung are repeated measurements, rather than independent patients. Spatial smoothing below is performed separately within each section, so cells in different sections can never become neighbours.
The region metadata contain the supplied pathology
annotations. Missing annotations are shown in grey. Colours have the
same meaning in every panel; each panel uses its own spatial extent.
region_names <- sort(unique(unlist(lapply(allTissues, function(spe) as.character(spe$region)))))
region_cols <- setNames(RColorBrewer::brewer.pal(8, "Set2")[seq_along(region_names)], region_names)
plots <- lapply(tissueNames, function(s) {
p <- VizSpatial(allTissues[[s]], colBy = "region", ptSize = 0.4,
legend.symb.size = 2, fsize = 10) +
scale_colour_manual(values = region_cols, limits = c(region_names, NA),
drop = FALSE, na.value = "grey80") +
labs(title = s, colour = "Pathology") +
guides(colour = guide_legend(nrow = 2, byrow = TRUE,
override.aes = list(size = 2)))
# Draw keys for absent regions too, so every panel has the same legend.
p$layers[[1]]$show.legend <- TRUE
p
})
patchwork::wrap_plots(plots, ncol = 2, guides = "collect") &
theme(legend.position = "bottom")
Supplied pathology annotations across the eight sections.
We fit partial least squares discriminant analysis (PLS-DA)
separately in each section, predicting pathology labels from the
unsmoothed scores. As in the workshop, the number of
components equals the number of observed regions. We rank states by
their signed coefficient for Tumour. These coefficients
describe an association with the supplied label, rather than cell
proportions. Lung9_Rep2 has no labelled tumour region and is omitted
from this comparison.
tumourNames <- setdiff(tissueNames, "Lung9_Rep2")
tumourSig <- regCoef_list <- setNames(vector("list", length(tumourNames)), tumourNames)
for (s in tumourNames) {
query <- allTissues[[s]]
query <- query[, !is.na(query$region)]
fit <- rankFeatures(query, "region", method = "PLSDA",
ncomp = length(unique(query$region)))
regCoef_list[[s]] <- fit$importance_scores
tumourSig[[s]] <- selectFeat(fit$importance_scores, nfeat = 5,
absVal = FALSE)$orderedFeatMat[, "Tumour"]
}
tumour_table <- do.call(cbind, tumourSig)[1:10, , drop = FALSE]The largest positive coefficient is at the top of each column. Scroll horizontally to compare all seven sections.
| Lung5_Rep1 | Lung5_Rep2 | Lung5_Rep3 | Lung6 | Lung9_Rep1 | Lung12 | Lung13 |
|---|---|---|---|---|---|---|
| Tumour(luca) | Sec_SCGB1A1/MUC5B(epi) | Tumour(luca) | Tumour(luca) | Tumour(luca) | AT1(luca) | Mesothelial(mesen) |
| Sec_SCGB1A1/MUC5B(epi) | Tumour(luca) | Mesothelial(mesen) | Neutro(luca) | FB_Peribronch(luca) | Mesothelial(mesen) | AT2/Club_Trans(luca) |
| AT2/Club_Trans(luca) | AT2/Club_Trans(luca) | AT2/Club_Trans(luca) | NK(immu) | Stromal_Divid(luca) | AT2/Club_Trans(luca) | Tumour(luca) |
| Mesothelial(mesen) | Sec_SCGB3A2(epi) | Sec_SCGB1A1/MUC5B(epi) | FB_Myo_Act(mesen) | FB_Myo_Act(mesen) | SysVenous(endo) | Mph_Alv(immu) |
| Mph_Alv(immu) | Mesothelial(mesen) | Mph_Alv(immu) | Stromal_Divid(luca) | Plasma(immu) | AT2_Trans(epi) | AT2_Trans(epi) |
| AT2_Trans(epi) | Basal(epi) | AT2_Trans(epi) | Plasma(immu) | Mph_Interst(immu) | KRT5-/KRT17+(epi) | Mesothelial(luca) |
| KRT5-/KRT17+(epi) | SMC(mesen) | Basal(epi) | Endo_Lymphatic(luca) | Arteriole(endo) | Neutro(luca) | KRT5-/KRT17+(epi) |
| Basal(epi) | Stromal_Divid(luca) | KRT5-/KRT17+(epi) | SysVenous(endo) | Epi_ROS1(luca) | Ciliated_Diff(epi) | AT1(luca) |
| Mesothelial(luca) | FB_Adv(mesen) | Mono(luca) | FB_Adv(mesen) | aCap(endo) | Mph_Alv(immu) | Plasma(immu) |
| Sec_SCGB3A2(epi) | FB_Myo_Act(mesen) | Sec_SCGB3A2(epi) | CD4(immu) | CD4(immu) | Mono(luca) | AT2(luca) |
Compare the signatures of the three Lung5 sections with those from other lungs. A shared reference defines common score axes, but it does not guarantee the absence of batch effects or make sections from one patient independent.
We smooth each section’s scores over 15 neighbours with a Gaussian kernel, concatenate sections in the declared order, and cluster the first 30 principal components into nine niches. We retain the workshop’s seed, Lloyd algorithm, 20 starts and 1,000-iteration limit. The scores are centred without scaling.
cluster_path <- file.path(out_dir, "joint-clusters.qs2")
if (!file.exists(cluster_path)) {
smoothed <- lapply(allTissues, function(spe) {
spatialSmoother(spe, smoothReducedDim = TRUE, kernel = "gaussian",
k = 15, include_self = TRUE, verbose = FALSE)
})
mat2clust <- do.call(rbind, lapply(smoothed, function(spe) {
reducedDim(spe, "PhiSpace_smoothed")
}))
multiClustRes <- clusterPhiSpace(
mat2clust, k = 9, ncomp = 30, iter.max = 1000, nstart = 20,
algorithm = "Lloyd", center = TRUE, scale = FALSE,
seed = 83904, return_pca = FALSE
)
# Cluster numbers are arbitrary. Match labels by maximum overlap with the
# saved workshop clustering, retaining the actual new memberships.
overlap <- table(multiClustRes$clusters, historical$clusters[cell_ids])
assignment <- clue::solve_LSAP(overlap, maximum = TRUE)
label_map <- setNames(colnames(overlap)[as.integer(assignment)], rownames(overlap))
joint_clusters <- setNames(unname(label_map[as.character(multiClustRes$clusters)]),
names(multiClustRes$clusters))
# Adjusted Rand index compares memberships independently of cluster numbers.
choose2 <- function(x) x * (x - 1) / 2
a <- sum(choose2(rowSums(overlap)))
b <- sum(choose2(colSums(overlap)))
expected <- a * b / choose2(sum(overlap))
historical_ari <- (sum(choose2(overlap)) - expected) / ((a + b) / 2 - expected)
cluster_result <- list(
clusters = joint_clusters, historical_ari = historical_ari,
historical_agreement = mean(joint_clusters == as.character(historical$clusters[cell_ids])),
parameters = multiClustRes$parameters,
tot_withinss = multiClustRes$kmeans_result$tot.withinss
)
qs_save(cluster_result, cluster_path)
rm(smoothed, mat2clust, multiClustRes)
invisible(gc())
} else {
cluster_result <- qs_read(cluster_path, validate_checksum = TRUE)
}
stopifnot(identical(names(cluster_result$clusters), cell_ids))
knitr::kable(data.frame(
comparison = c("Adjusted Rand index", "Agreement after matching labels"),
value = c(cluster_result$historical_ari, cluster_result$historical_agreement)
), digits = 4)| comparison | value |
|---|---|
| Adjusted Rand index | 0.7574 |
| Agreement after matching labels | 0.8920 |
The table compares the current computation with the saved workshop result. The old PCA consumed random numbers before k-means; the current SVD does not. This changes the random starts even with the same seed. A controlled replay with the old random-number state recovers the saved partition exactly. Matching labels alone does not change memberships. To preserve the workshop’s scientific example, the following maps, signatures and correlation analyses use the saved workshop memberships, rather than transferring its interpretations to a different partition. The fresh build still recomputes joint clustering and reports its agreement above. A joint niche has the same definition across sections, although its abundance and spatial arrangement can differ.
analysis_clusters <- setNames(as.character(historical$clusters), names(historical$clusters))
for (s in tissueNames) {
allTissues[[s]]$multiSampClust <- factor(
analysis_clusters[colnames(allTissues[[s]])], levels = as.character(1:9)
)
}
niche_cols <- setNames(RColorBrewer::brewer.pal(9, "Set1"), as.character(1:9))
plots <- lapply(tissueNames, function(s) {
p <- VizSpatial(allTissues[[s]], colBy = "multiSampClust", ptSize = 0.4,
legend.symb.size = 2, fsize = 10) +
scale_colour_manual(values = niche_cols, limits = names(niche_cols), drop = FALSE) +
labs(title = s, colour = "Joint niche")
p$layers[[1]]$show.legend <- TRUE
p
})
patchwork::wrap_plots(plots, ncol = 2, guides = "collect") &
theme(legend.position = "bottom")
Saved workshop niche memberships, with the same colour for each niche across sections.
We summarise unsmoothed scores within each joint niche, selecting the five states with the highest median. The boxplots use all cells in the niche. To keep memory bounded, we calculate summaries before plotting rather than reshaping all 28 million score entries into a long table. Whiskers extend to the most extreme observations within 1.5 interquartile ranges; outliers are omitted from the display.
scores <- do.call(rbind, lapply(allTissues, function(spe) reducedDim(spe, "PhiSpace")))
joint <- analysis_clusters[rownames(scores)]
median_scores <- t(vapply(as.character(1:9), function(k) {
apply(scores[joint == k, , drop = FALSE], 2, median)
}, numeric(ncol(scores))))
colnames(median_scores) <- score_names
rownames(median_scores) <- as.character(1:9)
box_data <- do.call(rbind, lapply(rownames(median_scores), function(k) {
top <- names(sort(median_scores[k, ], decreasing = TRUE))[1:5]
do.call(rbind, lapply(top, function(ct) {
z <- scores[joint == k, ct]
q <- quantile(z, c(0.25, 0.5, 0.75))
iqr <- q[3] - q[1]
data.frame(niche = k, state = ct, median = q[2], lower = q[1], upper = q[3],
ymin = min(z[z >= q[1] - 1.5 * iqr]),
ymax = max(z[z <= q[3] + 1.5 * iqr]))
}))
}))
box_data$key <- factor(paste(box_data$niche, box_data$state),
levels = paste(box_data$niche, box_data$state)[order(box_data$niche, box_data$median)])
ggplot(box_data, aes(x = key, fill = median, ymin = ymin, lower = lower,
middle = median, upper = upper, ymax = ymax)) +
geom_boxplot(stat = "identity") + coord_flip() +
facet_wrap(~ niche, ncol = 2, scales = "free_y") +
scale_x_discrete(labels = function(x) sub("^[0-9]+ ", "", x)) +
scale_fill_gradient2(low = "blue", mid = "white", high = "red") +
theme_bw(base_size = 10) + labs(x = NULL, y = "PhiSpace score", fill = "Median")
The five states with the highest median unsmoothed score in each workshop niche.
We also compare the joint niches with the supplied pathology labels. This provides a check on the interpretation of each niche, rather than relying on its numeric label. The old chapter called niches 1, 3 and 6 cancer niches, but that grouping does not agree with the supplied pathology annotations.
pathology_table <- table(
niche = joint,
pathology = unlist(lapply(allTissues, function(spe) as.character(spe$region)), use.names = FALSE)
)
knitr::kable(data.frame(niche = rownames(pathology_table),
as.data.frame.matrix(round(prop.table(pathology_table, 1), 3)),
check.names = FALSE),
row.names = FALSE)| niche | Abnormal | Abnormal epithelium | Fibrotic | Necrotic | Stroma | Tumour |
|---|---|---|---|---|---|---|
| 1 | 0.003 | 0.027 | 0.000 | 0.007 | 0.037 | 0.926 |
| 2 | 0.002 | 0.002 | 0.000 | 0.000 | 0.014 | 0.982 |
| 3 | 0.167 | 0.397 | 0.017 | 0.001 | 0.291 | 0.128 |
| 4 | 0.000 | 0.012 | 0.000 | 0.000 | 0.002 | 0.985 |
| 5 | 0.029 | 0.210 | 0.009 | 0.014 | 0.181 | 0.557 |
| 6 | 0.494 | 0.000 | 0.000 | 0.006 | 0.061 | 0.438 |
| 7 | 0.018 | 0.400 | 0.014 | 0.001 | 0.494 | 0.073 |
| 8 | 0.045 | 0.150 | 0.004 | 0.027 | 0.494 | 0.280 |
| 9 | 0.014 | 0.151 | 0.022 | 0.000 | 0.501 | 0.312 |
Here, co-presence means Pearson correlation between unsmoothed PhiSpace scores across cells within a niche and section. It can reflect shared transcriptional programmes, mixtures of identities or measurement effects. It does not establish physical contact, communication or a causal interaction between cell types. For each section–niche combination with at least 50 cells, we calculate an 81 by 81 correlation matrix and vectorise its lower triangle.
minNicheCells <- 50L
corMat_list <- list()
cor_metadata <- list()
for (s in tissueNames) {
query <- allTissues[[s]]
sc <- reducedDim(query, "PhiSpace")
for (k in unique(as.character(query$multiSampClust))) {
keep <- query$multiSampClust == k
if (sum(keep) < minNicheCells) next
key <- paste(k, s, sep = "_")
corMat_list[[key]] <- cor(sc[keep, , drop = FALSE])
cor_metadata[[key]] <- data.frame(niche = k, sample = s, cells = sum(keep))
}
}
cor_metadata <- do.call(rbind, cor_metadata)
pair_names <- outer(score_names, score_names, function(x, y) paste0(x, "<->", y))
corMatVec <- t(vapply(corMat_list, function(x) x[lower.tri(x)],
numeric(choose(length(score_names), 2))))
colnames(corMatVec) <- pair_names[lower.tri(pair_names)]
stopifnot(all(is.finite(corMatVec)), identical(rownames(corMatVec), rownames(cor_metadata)))
dim(corMatVec)## [1] 64 3240
As an example, we show one tumour-associated niche in Lung5_Rep1, selecting 25 score columns with the highest variance across its correlation matrix. This is a display selection; all 3,240 pairs enter the subsequent analyses.
example_cor <- corMat_list[["1_Lung5_Rep1"]]
selected <- names(sort(apply(example_cor, 2, var), decreasing = TRUE))[1:25]
plotCorrelation(example_cor[selected, selected], seriation_method = "PCA")
Each point below represents a section–niche correlation matrix. We retain five PCs and display the first two. Similar scores indicate similar correlation patterns, which need not imply similar mean state scores.
set.seed(12361)
pca_res <- getPC(corMatVec, ncomp = 5)
pca_plot <- data.frame(pca_res$scores, cor_metadata)
ggplot(pca_plot, aes(comp1, comp2, colour = niche, label = sample)) +
geom_text(size = 2.8, check_overlap = FALSE) +
scale_colour_manual(values = niche_cols) + theme_bw() +
labs(x = "PC1", y = "PC2", colour = "Joint niche")
plotLoadings(pca_res$loadings, "comp1", showNeg = FALSE, absVal = TRUE, nfeat = 10)
plotLoadings(pca_res$loadings, "comp2", showNeg = FALSE, absVal = TRUE, nfeat = 10)
We use distance-weighted discrimination (DWD) to contrast niches in
which more than half the pathology-labelled cells are
labelled Tumour with the remaining niches. This explicit,
illustrative threshold replaces the old chapter’s inconsistent
hard-coded niche numbers. Cells without pathology labels do not enter
the denominator. DWD produces a fitted score and a weight for each pair
of cell states.
tumour_fraction <- prop.table(pathology_table, 1)[, "Tumour"]
tumour_niches <- names(tumour_fraction)[tumour_fraction > 0.5]
tumour_niches## [1] "1" "2" "4" "5"
nicheBinary <- ifelse(cor_metadata$niche %in% tumour_niches, 1, -1)
dwd_res <- rankFeatures(corMatVec, response = nicheBinary,
method = "DWD", seed = 12361)
dwd_plot <- data.frame(dwd_res$scores,
group = ifelse(nicheBinary == 1, "Tumour-majority niches", "Other niches"))
ggplot(dwd_plot, aes(DWD_score, fill = group)) +
geom_density(alpha = 0.4) + theme_bw() +
labs(x = "Fitted DWD score", fill = NULL)
plotLoadings(dwd_res$importance_scores, "DWD_weight", nfeat = 20)
These are fitted, exploratory contrasts. The display does not measure prediction on independent patients, and the internal cross-validation used to choose regularisation does not account for repeated sections from one lung. Clinical or predictive claims would require validation that holds out entire patients.
The tutorial retains the workshop’s supplied scores and subsampling,
while updating compatibility with current PhiSpace APIs. Source and
input hashes, the fresh/cached build procedure and numerical comparisons
are recorded in the repository’s
scripts/cosmx-multisample-validation.md. No expression
normalisation or reference fitting is performed by this tutorial.
For the scientific method and broader spatial analyses, see Mao, Choi and Lê Cao (2026). The original workshop is distributed under GPL-3.0; its authorship and source are retained above.
## R version 4.5.0 (2025-04-11)
## Platform: x86_64-pc-linux-gnu
## Running under: Ubuntu 24.04.5 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=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
## [4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
## [7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
## [10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
##
## time zone: UTC
## tzcode source: system (glibc)
##
## attached base packages:
## [1] stats4 stats graphics grDevices utils datasets methods
## [8] base
##
## other attached packages:
## [1] vizOmics_0.1.0 qs2_0.4.0
## [3] ggplot2_4.0.3 PhiSpace_0.99.0
## [5] testthat_3.3.2 SpatialExperiment_1.20.0
## [7] SingleCellExperiment_1.32.0 SummarizedExperiment_1.40.0
## [9] Biobase_2.70.0 GenomicRanges_1.62.1
## [11] Seqinfo_1.0.0 IRanges_2.44.0
## [13] S4Vectors_0.48.1 BiocGenerics_0.56.0
## [15] generics_0.1.4 MatrixGenerics_1.22.0
## [17] matrixStats_1.5.0
##
## loaded via a namespace (and not attached):
## [1] RColorBrewer_1.1-3 rstudioapi_0.19.0 jsonlite_2.0.0
## [4] shape_1.4.6.1 umap_0.2.10.0 magrittr_2.0.5
## [7] magick_2.9.1 farver_2.1.2 rmarkdown_2.32
## [10] ragg_1.5.2 GlobalOptions_0.1.4 fs_2.1.0
## [13] vctrs_0.7.3 memoise_2.0.1 askpass_1.2.1
## [16] rstatix_1.1.0 htmltools_0.5.9 S4Arrays_1.10.1
## [19] BiocNeighbors_2.4.0 broom_1.0.13 SparseArray_1.10.10
## [22] Formula_1.2-6 sass_0.4.10 bslib_0.12.0
## [25] htmlwidgets_1.6.4 desc_1.4.3 plyr_1.8.9
## [28] cachem_1.1.0 whisker_0.4.1 igraph_2.3.4
## [31] lifecycle_1.0.5 iterators_1.0.14 pkgconfig_2.0.3
## [34] rsvd_2.0.0 Matrix_1.7-3 R6_2.6.1
## [37] fastmap_1.2.0 clue_0.3-68 digest_0.6.39
## [40] colorspace_2.1-4 patchwork_1.3.2 rprojroot_2.1.1
## [43] dqrng_0.4.1 RSpectra_0.16-2 irlba_2.4.1
## [46] pkgload_1.5.3 textshaping_1.0.5 seriation_1.6.0
## [49] ggpubr_1.0.0 beachmat_2.26.0 labeling_0.4.3
## [52] abind_1.4-8 compiler_4.5.0 withr_3.0.3
## [55] doParallel_1.0.17 S7_0.2.2 backports_1.5.1
## [58] BiocParallel_1.44.0 carData_3.0-6 pkgbuild_1.4.8
## [61] ggsignif_0.6.4 openssl_2.5.0 DelayedArray_0.36.1
## [64] rjson_0.2.23 bluster_1.20.0 tools_4.5.0
## [67] otel_0.3.0 glue_1.8.1 grid_4.5.0
## [70] cluster_2.1.8.1 gtable_0.3.6 ca_0.72
## [73] tidyr_1.3.2 BiocSingular_1.26.1 ScaledMatrix_1.18.0
## [76] metapod_1.18.0 xml2_1.6.0 car_3.1-5
## [79] XVector_0.50.0 foreach_1.5.2 pillar_1.11.1
## [82] limma_3.66.0 circlize_0.4.18 dplyr_1.2.1
## [85] kerndwd_2.0.3 lattice_0.22-6 FNN_1.1.4.1
## [88] tidyselect_1.2.1 registry_0.5-1 ComplexHeatmap_2.26.1
## [91] locfit_1.5-9.12 scuttle_1.20.0 downlit_0.4.5
## [94] knitr_1.52 charport_0.2.0 edgeR_4.8.2
## [97] xfun_0.62 statmod_1.5.2 brio_1.1.5
## [100] yaml_2.3.12 evaluate_1.0.5 codetools_0.2-20
## [103] tibble_3.3.1 cli_3.6.6 RcppParallel_6.2.1
## [106] systemfonts_1.3.2 reticulate_1.47.0 jquerylib_0.1.4
## [109] Rcpp_1.1.2 png_0.1-9 parallel_4.5.0
## [112] pkgdown_2.2.0 scran_1.38.1 scales_1.4.0
## [115] purrr_1.2.2 crayon_1.5.3 GetoptLong_1.1.1
## [118] rlang_1.3.0 TSP_1.2.7