Contents

This vignette has been changed in BioC 3.14, when each data package (LRBase.XXX.eg.db) is deprecated and the way to provide LRBase data has changed to AnnotationHub-style.

1 Specification change of LRBase and scTensor from BioC 3.14 (Nov. 2021)

This section is for the users of previous LRBase.XXX.eg.db-type packages and scTensor. The specifications of the LRBase.XXX.eg.db and scTensor have changed significantly since BioC 3.14. Specifically, the distribution of all LRBase.XXX.eg.db-type packages will be abolished, and the policy has been switched to one where the data is placed on a cloud server called AnnotationHub, and users are allowed to retrieve the data only when they really need it. The following are the advantages of this AnnotationHub-style.

2 Introduction

2.1 About Cell-Cell Interaction (CCI) databases

Due to the rapid development of single-cell RNA-Seq (scRNA-Seq) technologies, wide variety of cell types such as multiple organs of a healthy person, stem cell niche and cancer stem cell have been found. Such complex systems are composed of communication between cells (cell-cell interaction or CCI).

Many CCI studies are based on the ligand-receptor (L-R)-pair list of FANTOM5 project1 Jordan A. Ramilowski, A draft network of ligand-receptor-mediated multicellular signaling in human, Nature Communications, 2015 as the evidence of CCI (http://fantom.gsc.riken.jp/5/suppl/Ramilowski_et_al_2015/data/PairsLigRec.txt). The project proposed the L-R-candidate genes by following two basises.

  1. Subcellular Localization
    1. Known Annotation (UniProtKB and HPRD) : The term “Secreted” for candidate ligand genes and “Plasma Membrane” for candidate receptor genes
    2. Computational Prediction (LocTree3 and PolyPhobius)
  2. Physical Binding of Proteins : Experimentally validated PPI (protein-protein interaction) information of HPRD and STRING

The project also merged the data with previous L-R database such as IUPHAR/DLRP/HPMR and filter out the list without PMIDs. The recent L-R databases such as CellPhoneDB and SingleCellSignalR also manually curated L-R pairs, which are not listed in IUPHAR/DLRP/HPMR. In Bader Laboratory, many putative L-R databases are predicted by their standards. In our framework, we expanded such L-R databases for 134 organisms based on the ortholog relationships. For the details, check the summary of rikenbit/lrbase-workflow2 https://github.com/rikenbit/lrbase-workflow#summary, which is the Snakemake workflow to create LRBase data in each bi-annual update of Bioconductor.

2.2 LRBase and scTensor framework

Our L-R databases (LRBase) are provided a cloud server called AnnotationHub, and users are allowed to retrieve the data only when they really need it. Downloaded data is stored as a cache file on our local machines by the BiocFileCache mechanism. Then, the data is converted to LRBase object by LRBaseDbi. We also developed scTensor, which is a method to detect CCI and the CCI-related L-R pairs simultaneously. This document provides the way to use LRBaseDbi, LRBase objects, and scTensor (Figure 1).

Figure 1 : Workflow of L-R-related packages

3 Usage

3.1 LRBase objects (ligand-receptor database for 134 organisms)

To create the LRBase of 134 organisms, we introduced 36 approarches including known/putative L-R pairing. Please see the evidence code of lrbase-workflow3 https://github.com/rikenbit/lrbase-workflow.

3.1.1 Data retrieval from AnnotationHub

First of all, we download the data of LRBase from AnnotationHub. AnnotationHub::AnnotationHub retrieve the metadata of all the data stored in cloud server.

library("AnnotationHub")
## Loading required package: BiocGenerics
## 
## Attaching package: 'BiocGenerics'
## The following objects are masked from 'package:stats':
## 
##     IQR, mad, sd, var, xtabs
## The following objects are masked from 'package:base':
## 
##     Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append,
##     as.data.frame, basename, cbind, colnames, dirname, do.call,
##     duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
##     lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
##     pmin.int, rank, rbind, rownames, sapply, saveRDS, setdiff, table,
##     tapply, union, unique, unsplit, which.max, which.min
## Loading required package: BiocFileCache
## Loading required package: dbplyr
ah <- AnnotationHub()
mcols(ah)
## DataFrame with 71786 rows and 15 columns
##                           title           dataprovider               species
##                     <character>            <character>           <character>
## AH5012          Chromosome Band                   UCSC          Homo sapiens
## AH5013              STS Markers                   UCSC          Homo sapiens
## AH5014              FISH Clones                   UCSC          Homo sapiens
## AH5015              Recomb Rate                   UCSC          Homo sapiens
## AH5016             ENCODE Pilot                   UCSC          Homo sapiens
## ...                         ...                    ...                   ...
## AH119191 org.Aegialitis_vocif.. ftp://ftp.ncbi.nlm.n..   Aegialitis vocifera
## AH119192 org.Charadrius_vocif.. ftp://ftp.ncbi.nlm.n.. Charadrius vociferous
## AH119193 org.Charadrius_vocif.. ftp://ftp.ncbi.nlm.n..  Charadrius vociferus
## AH119194 org.Oxyechus_vocifer.. ftp://ftp.ncbi.nlm.n..    Oxyechus vociferus
## AH119195 org.Drosophila_erect.. ftp://ftp.ncbi.nlm.n..     Drosophila erecta
##          taxonomyid       genome            description coordinate_1_based
##           <integer>  <character>            <character>          <integer>
## AH5012         9606         hg19 GRanges object from ..                  1
## AH5013         9606         hg19 GRanges object from ..                  1
## AH5014         9606         hg19 GRanges object from ..                  1
## AH5015         9606         hg19 GRanges object from ..                  1
## AH5016         9606         hg19 GRanges object from ..                  1
## ...             ...          ...                    ...                ...
## AH119191      50402 NCBI genomes NCBI gene ID based a..                  1
## AH119192      50402 NCBI genomes NCBI gene ID based a..                  1
## AH119193      50402 NCBI genomes NCBI gene ID based a..                  1
## AH119194      50402 NCBI genomes NCBI gene ID based a..                  1
## AH119195       7220 NCBI genomes NCBI gene ID based a..                  1
##                      maintainer rdatadateadded          preparerclass
##                     <character>    <character>            <character>
## AH5012   Marc Carlson <mcarls..     2013-03-26 UCSCFullTrackImportP..
## AH5013   Marc Carlson <mcarls..     2013-03-26 UCSCFullTrackImportP..
## AH5014   Marc Carlson <mcarls..     2013-03-26 UCSCFullTrackImportP..
## AH5015   Marc Carlson <mcarls..     2013-03-26 UCSCFullTrackImportP..
## AH5016   Marc Carlson <mcarls..     2013-03-26 UCSCFullTrackImportP..
## ...                         ...            ...                    ...
## AH119191 Bioconductor Package..     2024-10-04     NCBIImportPreparer
## AH119192 Bioconductor Package..     2024-10-04     NCBIImportPreparer
## AH119193 Bioconductor Package..     2024-10-04     NCBIImportPreparer
## AH119194 Bioconductor Package..     2024-10-04     NCBIImportPreparer
## AH119195 Bioconductor Package..     2024-10-04     NCBIImportPreparer
##                                  tags  rdataclass              rdatapath
##                                <AsIs> <character>            <character>
## AH5012        cytoBand,UCSC,track,...     GRanges goldenpath/hg19/data..
## AH5013          stsMap,UCSC,track,...     GRanges goldenpath/hg19/data..
## AH5014      fishClones,UCSC,track,...     GRanges goldenpath/hg19/data..
## AH5015      recombRate,UCSC,track,...     GRanges goldenpath/hg19/data..
## AH5016   encodeRegions,UCSC,track,...     GRanges goldenpath/hg19/data..
## ...                               ...         ...                    ...
## AH119191         NCBI,Gene,Annotation       OrgDb ncbi/uniprot/3.20/or..
## AH119192         NCBI,Gene,Annotation       OrgDb ncbi/uniprot/3.20/or..
## AH119193         NCBI,Gene,Annotation       OrgDb ncbi/uniprot/3.20/or..
## AH119194         NCBI,Gene,Annotation       OrgDb ncbi/uniprot/3.20/or..
## AH119195         NCBI,Gene,Annotation       OrgDb ncbi/uniprot/3.20/or..
##                       sourceurl   sourcetype
##                     <character>  <character>
## AH5012   rtracklayer://hgdown..   UCSC track
## AH5013   rtracklayer://hgdown..   UCSC track
## AH5014   rtracklayer://hgdown..   UCSC track
## AH5015   rtracklayer://hgdown..   UCSC track
## AH5016   rtracklayer://hgdown..   UCSC track
## ...                         ...          ...
## AH119191 ftp://ftp.ncbi.nlm.n.. NCBI/UniProt
## AH119192 ftp://ftp.ncbi.nlm.n.. NCBI/UniProt
## AH119193 ftp://ftp.ncbi.nlm.n.. NCBI/UniProt
## AH119194 ftp://ftp.ncbi.nlm.n.. NCBI/UniProt
## AH119195 ftp://ftp.ncbi.nlm.n.. NCBI/UniProt

Specifying some keywords in query(), we can find LRBase data in AnnotationHub.

dbfile <- query(ah, c("LRBaseDb", "Homo sapiens", "v002"))[[1]]
## loading from cache

AnnotationHub also keeps old data as an archive, so please make sure you have the latest version (e.g. “v002” or higher) when you search for LRBaseDb.

Then, we can convert dbfile into LRBase object by using LRBaseDbi.

library("LRBaseDbi")
## LRBase.XXX.eg.db-type packages are deprecated since Bioconductor 3.14. Use AnnotationHub instead. For details, check the vignette of LRBaseDbi
LRBase.Hsa.eg.db <- LRBaseDbi::LRBaseDb(dbfile)

3.1.2 columns, keytypes, keys, and select

Some data access functions are available for LRBase objects. Any data table are retrieved by 4 functions defined by AnnotationDbi; columns, keytypes, keys, and select and commonly implemented by LRBaseDbi package. columns returns the rows which we can retrieve in LRBase objects. keytypes returns the rows which can be used as the optional parameter in keys and select functions against LRBase objects. keys function returns the value of keytype. select function returns the rows in particular columns, which are having user-specified keys. This function returns the result as a dataframe. See the vignette of AnnotationDbi for more details.

columns(LRBase.Hsa.eg.db)
## [1] "GENEID_L" "GENEID_R" "SOURCEDB" "SOURCEID"
keytypes(LRBase.Hsa.eg.db)
## [1] "GENEID_L" "GENEID_R" "SOURCEDB" "SOURCEID"
key_HSA <- keys(LRBase.Hsa.eg.db, keytype="GENEID_L")
head(select(LRBase.Hsa.eg.db, keys=key_HSA[1:2],
            columns=c("GENEID_L", "GENEID_R"), keytype="GENEID_L"))
##   GENEID_L GENEID_R
## 1        1     6622
## 2        1      310
## 3        1    10321
## 4        1    10549
## 5      100     1803

3.1.3 Other functions

Other additional functions like species, nomenclature, and listDatabases are available. In each LRBase.XXX.eg.db-type package, species function returns the common name and nomenclature returns the scientific name. listDatabases function returns the source of data. dbInfo returns the information of the package. dbfile returns the directory where sqlite file is stored. dbschema returns the schema of the database. dbconn returns the connection to the sqlite database.

lrNomenclature(LRBase.Hsa.eg.db)
## [1] "Homo sapiens"
species(LRBase.Hsa.eg.db)
## [1] "Human"
lrListDatabases(LRBase.Hsa.eg.db)
##             SOURCEDB
## 1           BADERLAB
## 2        CELLPHONEDB
## 3               DLRP
## 4            FANTOM5
## 5               HPMR
## 6             IUPHAR
## 7  SINGLECELLSIGNALR
## 8           SOURCEDB
## 9     SWISSPROT_HPRD
## 10  SWISSPROT_STRING
## 11       TREMBL_HPRD
## 12     TREMBL_STRING
lrVersion(LRBase.Hsa.eg.db)
##        NAME VALUE
## 1 LRVERSION  2018
dbInfo(LRBase.Hsa.eg.db)
##               NAME
## 1             NAME
## 2       SOURCEDATE
## 3      SOURCENAME1
## 4      SOURCENAME2
## 5      SOURCENAME3
## 6      SOURCENAME4
## 7      SOURCENAME5
## 8      SOURCENAME6
## 9      SOURCENAME7
## 10     SOURCENAME8
## 11     SOURCENAME9
## 12    SOURCENAME10
## 13    SOURCENAME11
## 14      SOURCEURL1
## 15      SOURCEURL2
## 16      SOURCEURL3
## 17      SOURCEURL4
## 18      SOURCEURL5
## 19      SOURCEURL6
## 20      SOURCEURL7
## 21      SOURCEURL8
## 22      SOURCEURL9
## 23     SOURCEURL10
## 24     SOURCEURL11
## 25        DBSCHEMA
## 26 DBSCHEMAVERSION
## 27        ORGANISM
## 28         SPECIES
## 29         package
## 30         Db type
## 31       LRVERSION
## 32           TAXID
##                                                                            VALUE
## 1                                                                          VALUE
## 2                                                                     2021-08-11
## 3                                                                           DLRP
## 4                                                                         IUPHAR
## 5                                                                           HPMR
## 6                                                                    CELLPHONEDB
## 7                                                              SINGLECELLSIGNALR
## 8                                                                        FANTOM5
## 9                                                                       BADERLAB
## 10                                                                     SWISSPROT
## 11                                                                          HPRD
## 12                                                                        TREMBL
## 13                                                                        STRING
## 14                                     https://dip.doe-mbi.ucla.edu/dip/DLRP.cgi
## 15                              https://www.guidetopharmacology.org/download.jsp
## 16                                                                              
## 17                                                   https://www.cellphonedb.org
## 18 http://www.bioconductor.org/packages/release/bioc/html/SingleCellSignalR.html
## 19                                                    http://fantom.gsc.riken.jp
## 20                                      http://baderlab.org/CellCellInteractions
## 21                            http://www.uniprot.org/uniprot/?query=reviewed:yes
## 22                                                      http://hprd.org/download
## 23                             http://www.uniprot.org/uniprot/?query=reviewed:no
## 24                                         https://string-db.org/cgi/download.pl
## 25                                                              LRBase.Hsa.eg.db
## 26                                                                           1.0
## 27                                                                  Homo sapiens
## 28                                                                         Human
## 29                                                                 AnnotationDbi
## 30                                                                      LRBaseDb
## 31                                                                          2018
## 32                                                                          9606
dbfile(LRBase.Hsa.eg.db)
##                                                        AH97772 
## "/home/biocbuild/.cache/R/AnnotationHub/24d8852ae5daab_104518"
dbschema(LRBase.Hsa.eg.db)
## [1] "CREATE TABLE DATA (\n  GENEID_L VARCHAR(10) NOT NULL,       -- e.g., 19\n  GENEID_R VARCHAR(10) NOT NULL,       -- e.g., 3763409\n  SOURCEID VARCHAR (10) NOT NULL,      -- e.g., 27535533\n  SOURCEDB VARCHAR (10) NOT NULL       -- e.g., SWISSPROT_STRING\n)"
## [2] "CREATE TABLE METADATA (\n  NAME NOT NULL,\n  VALUE TEXT\n)"                                                                                                                                                                                                     
## [3] "CREATE INDEX A ON DATA (GENEID_L)"                                                                                                                                                                                                                              
## [4] "CREATE INDEX B ON DATA (GENEID_R)"                                                                                                                                                                                                                              
## [5] "CREATE INDEX C ON DATA (SOURCEDB)"                                                                                                                                                                                                                              
## [6] "CREATE INDEX D ON DATA (SOURCEID)"
dbconn(LRBase.Hsa.eg.db)
## <SQLiteConnection>
##   Path: /home/biocbuild/.cache/R/AnnotationHub/24d8852ae5daab_104518
##   Extensions: TRUE

Combined with dbGetQuery function of RSQLite package, more complicated queries also can be submitted.

suppressPackageStartupMessages(library("RSQLite"))
dbGetQuery(dbconn(LRBase.Hsa.eg.db),
  "SELECT * FROM DATA WHERE GENEID_L = '9068' AND GENEID_R = '14' LIMIT 10")
## [1] GENEID_L GENEID_R SOURCEID SOURCEDB
## <0 rows> (or 0-length row.names)

3.2 scTensor (CCI-tensor construction, decomposition, and HTML reporting)

Combined with LRBase object and user’s gene expression matrix of scRNA-Seq, scTensor detects CCIs and generates HTML reports for exploratory data inspection. The algorithm of scTensor is as follows.

Firstly, scTensor calculates the celltype-level mean vectors, searches the corresponding pair of genes in the row names of the matrix, and extracted as two vectors.

Next, the cell type-level mean vectors of ligand expression and that of receptor expression are multiplied as outer product and converted to cell type \(\times\) cell type matrix. Here, the multiple matrices can be represented as a three-order “tensor” (Ligand-Cell * Receptor-Cell * L-R-Pair). scTensor decomposes the tensor into a small tensor (core tensor) and two factor matrices. Tensor decomposition is very similar to the matrix decomposition like PCA (principal component analysis). The core tensor is similar to the eigenvalue of PCA; this means that how much the pattern is outstanding. Likewise, three matrices are similar to the PC scores/loadings of PCA; These represent which ligand-cell/receptor-cell/L-R-pair are informative. When the matrices have negative values, interpreting which direction (+/-) is important and which is not, is a difficult and laboring task. That’s why, scTensor performs non-negative Tucker2 decomposition (NTD2), which is non-negative version of tensor decomposition (cf. nnTensor).

Finally, the result of NTD2 is summarized as an HTML report. Because most of the plots are visualized by plotly package, the precise information of the plot can be interactively confirmed by user’s on-site web browser. The two factor matrices can be interactively viewed and which cell types and which L-R-pairs are likely to be interacted each other. The mode-3 (LR-pair direction) sum of the core tensor is calculated and visualized as Ligand-Receptor Patterns. Detail of (Ligand-Cell, Receptor-Cell, L-R-pair) Patterns are also visualized.

3.2.1 Creating a SingleCellExperiment object

Here, we use the scRNA-Seq dataset of male germline cells and somatic cells\(^{3}\)GSE86146 as demo data. For saving the package size, the number of genes is strictly reduced by the standard of highly variable genes with a threshold of the p-value are 1E-150 (cf. Identifying highly variable genes). That’s why we won’t argue about the scientific discussion of the data here.

We assume that user has a scRNA-Seq data matrix containing expression count data summarised at the level of the gene. First, we create a SingleCellExperiment object containing the data. The rows of the object correspond to features, and the columns correspond to cells. The gene identifier is limited as NCBI Gene ID for now.

To improve the interpretability of the following HTML report, we highly recommend that user specifies the two-dimensional data of input data (e.g. PCA, t-SNE, or UMAP). Such information is easily specified by reducedDims function of SingleCellExperiment package and is saved to reducedDims slot of SingleCellExperiment object (Figure ??).

suppressPackageStartupMessages(library("scTensor"))
## Warning in fun(libname, pkgname): couldn't connect to display ":1.0"
suppressPackageStartupMessages(library("SingleCellExperiment"))
data(GermMale)
data(labelGermMale)
data(tsneGermMale)

sce <- SingleCellExperiment(assays=list(counts = GermMale))
reducedDims(sce) <- SimpleList(TSNE=tsneGermMale$Y)
plot(reducedDims(sce)[[1]], col=labelGermMale, pch=16, cex=2,
  xlab="Dim1", ylab="Dim2", main="Germline, Male, GSE86146")
legend("topleft", legend=c(paste0("FGC_", 1:3), paste0("Soma_", 1:4)),
  col=c("#9E0142", "#D53E4F", "#F46D43", "#ABDDA4", "#66C2A5", "#3288BD", "#5E4FA2"),
  pch=16)
Germline, Male, GSE86146

Figure 1: Germline, Male, GSE86146

3.2.2 Parameter setting: cellCellSetting

To perform the tensor decomposition and HTML report, user is supposed to specify

    1. LRBaseDb object (e.g. LRBase.Hsa.eg.db)
    1. cell type vector of each cell (e.g. names(labelGermMale))

to SingleCellExperiment object.

cellCellSetting(sce, LRBase.Hsa.eg.db, names(labelGermMale))

The corresponding information is registered to the metadata slot of SingleCellExperiment object by cellCellSetting function.

3.2.3 CCI-tensor construction and decomposition: cellCellDecomp

After cellCellSetting, we can perform tensor decomposition by cellCellDecomp. Here the parameter ranks is specified as dimension of core tensor. For example, c(2, 3) means The data tensor is decomposed to 2 ligand-patterns and 3 receptor-patterns.

set.seed(1234)
cellCellDecomp(sce, ranks=c(2,3))
## Input data matrix may contains 7 gene symbols because the name contains some alphabets.
## scTensor uses only NCBI Gene IDs for now.
## Here, the gene symbols are removed and remaining 235 NCBI Gene IDs are used for scTensor next step.
## 7 * 7 * 4 Tensor is created

Although user has to specify the rank to perform cellCellDecomp, we implemented a simple rank estimation function based on the eigenvalues distribution of PCA in the matricised tensor in each mode in cellCellRank. rks$selected is also specified as rank parameter of cellCellDecomp.

(rks <- cellCellRanks(sce))
## Each rank, multiple NMF runs are performed
## 
  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |==========                                                            |  14%
  |                                                                            
  |====================                                                  |  29%
  |                                                                            
  |==============================                                        |  43%
  |                                                                            
  |========================================                              |  57%
  |                                                                            
  |==================================================                    |  71%
  |                                                                            
  |============================================================          |  86%
  |                                                                            
  |======================================================================| 100%
## Each rank estimation method
## 
  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |==========                                                            |  14%
  |                                                                            
  |====================                                                  |  29%
  |                                                                            
  |==============================                                        |  43%
  |                                                                            
  |========================================                              |  57%
  |                                                                            
  |==================================================                    |  71%
  |                                                                            
  |============================================================          |  86%
  |                                                                            
  |======================================================================| 100%
## Each rank, multiple NMF runs are performed
## 
  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |==========                                                            |  14%
  |                                                                            
  |====================                                                  |  29%
  |                                                                            
  |==============================                                        |  43%
  |                                                                            
  |========================================                              |  57%
  |                                                                            
  |==================================================                    |  71%
  |                                                                            
  |============================================================          |  86%
  |                                                                            
  |======================================================================| 100%
## Each rank estimation method
## 
  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |==========                                                            |  14%
  |                                                                            
  |====================                                                  |  29%
  |                                                                            
  |==============================                                        |  43%
  |                                                                            
  |========================================                              |  57%
  |                                                                            
  |==================================================                    |  71%
  |                                                                            
  |============================================================          |  86%
  |                                                                            
  |======================================================================| 100%
## $RSS
## $RSS$rss1
## [1] 124587604751  25929822763   2085959976    438461900    312129322
## [6]    277726907    183431820
## 
## $RSS$rss2
## [1] 122493907374   6776993503   2568919182   3253818525   1438749444
## [6]    414514697   1111518908
## 
## 
## $selected
## [1] 3 2
rks$selected
## [1] 3 2

3.2.4 HTML Report: cellCellReport

If cellCellDecomp is properly finished, we can perform cellCellReport function to output the HTML report like below. Please type example(cellCellReport) and the report will be generated in the temporary directory (it costs 5 to 10 minutes). After cellCellReport, multiple R markdown files, compiled HTML files, figures, and R binary file containing the result of analysis are saved to out.dir (Figure 2). For more details, open the index.html by your web browser. Combined with cloud storage service such as Amazon Simple Storage Service (S3), it can be a simple web application and multiple people like collaborators can confirm the same report simultaneously.

Figure2 : cellCellReport function of scTensor

Session Information

## R version 4.4.1 (2024-06-14)
## Platform: x86_64-pc-linux-gnu
## Running under: Ubuntu 24.04.1 LTS
## 
## Matrix products: default
## BLAS:   /home/biocbuild/bbs-3.20-bioc/R/lib/libRblas.so 
## LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0
## 
## locale:
##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_GB              LC_COLLATE=C              
##  [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: America/New_York
## tzcode source: system (glibc)
## 
## attached base packages:
## [1] stats4    stats     graphics  grDevices utils     datasets  methods  
## [8] base     
## 
## other attached packages:
##  [1] SingleCellExperiment_1.28.0 SummarizedExperiment_1.36.0
##  [3] Biobase_2.66.0              GenomicRanges_1.58.0       
##  [5] GenomeInfoDb_1.42.0         IRanges_2.40.0             
##  [7] S4Vectors_0.44.0            MatrixGenerics_1.18.0      
##  [9] matrixStats_1.4.1           scTensor_2.16.0            
## [11] RSQLite_2.3.7               LRBaseDbi_2.16.0           
## [13] AnnotationHub_3.14.0        BiocFileCache_2.14.0       
## [15] dbplyr_2.5.0                BiocGenerics_0.52.0        
## [17] BiocStyle_2.34.0           
## 
## loaded via a namespace (and not attached):
##   [1] rTensor_1.4.8           splines_4.4.1           ggplotify_0.1.2        
##   [4] bitops_1.0-9            filelock_1.0.3          fields_16.3            
##   [7] tibble_3.2.1            R.oo_1.26.0             polyclip_1.10-7        
##  [10] graph_1.84.0            XML_3.99-0.17           lifecycle_1.0.4        
##  [13] tcltk_4.4.1             lattice_0.22-6          MASS_7.3-61            
##  [16] backports_1.5.0         dendextend_1.18.1       magrittr_2.0.3         
##  [19] plotly_4.10.4           sass_0.4.9              rmarkdown_2.28         
##  [22] plot3D_1.4.1            jquerylib_0.1.4         yaml_2.3.10            
##  [25] plotrix_3.8-4           ggtangle_0.0.3          spam_2.11-0            
##  [28] cowplot_1.1.3           DBI_1.2.3               RColorBrewer_1.1-3     
##  [31] maps_3.4.2              abind_1.4-8             zlibbioc_1.52.0        
##  [34] purrr_1.0.2             R.utils_2.12.3          ggraph_2.2.1           
##  [37] RCurl_1.98-1.16         yulab.utils_0.1.7       tweenr_2.0.3           
##  [40] rappdirs_0.3.3          misc3d_0.9-1            seriation_1.5.6        
##  [43] GenomeInfoDbData_1.2.13 enrichplot_1.26.0       ggrepel_0.9.6          
##  [46] AnnotationForge_1.48.0  tidytree_0.4.6          reactome.db_1.89.0     
##  [49] genefilter_1.88.0       schex_1.20.0            ccTensor_1.0.2         
##  [52] annotate_1.84.0         codetools_0.2-20        DelayedArray_0.32.0    
##  [55] ggforce_0.4.2           DOSE_4.0.0              tidyselect_1.2.1       
##  [58] GOstats_2.72.0          outliers_0.15           aplot_0.2.3            
##  [61] farver_2.1.2            UCSC.utils_1.2.0        viridis_0.6.5          
##  [64] TSP_1.2-4               webshot_0.5.5           jsonlite_1.8.9         
##  [67] tidygraph_1.3.1         survival_3.7-0          iterators_1.0.14       
##  [70] foreach_1.5.2           tools_4.4.1             treeio_1.30.0          
##  [73] tagcloud_0.6            Rcpp_1.0.13             glue_1.8.0             
##  [76] gridExtra_2.3           SparseArray_1.6.0       xfun_0.48              
##  [79] qvalue_2.38.0           dplyr_1.1.4             ca_0.71.1              
##  [82] withr_3.0.2             BiocManager_1.30.25     Category_2.72.0        
##  [85] fastmap_1.2.0           fansi_1.0.6             entropy_1.3.1          
##  [88] digest_0.6.37           gridGraphics_0.5-1      R6_2.5.1               
##  [91] mime_0.12               colorspace_2.1-1        GO.db_3.20.0           
##  [94] R.methodsS3_1.8.2       hexbin_1.28.4           utf8_1.2.4             
##  [97] tidyr_1.3.1             generics_0.1.3          data.table_1.16.2      
## [100] meshr_2.12.0            graphlayouts_1.2.0      httr_1.4.7             
## [103] htmlwidgets_1.6.4       S4Arrays_1.6.0          graphite_1.52.0        
## [106] pkgconfig_2.0.3         gtable_0.3.6            blob_1.2.4             
## [109] registry_0.5-1          XVector_0.46.0          htmltools_0.5.8.1      
## [112] dotCall64_1.2           bookdown_0.41           fgsea_1.32.0           
## [115] RBGL_1.82.0             GSEABase_1.68.0         scales_1.3.0           
## [118] png_0.1-8               ggfun_0.1.7             knitr_1.48             
## [121] reshape2_1.4.4          visNetwork_2.1.2        checkmate_2.3.2        
## [124] nlme_3.1-166            curl_5.2.3              cachem_1.1.0           
## [127] stringr_1.5.1           BiocVersion_3.20.0      concaveman_1.1.0       
## [130] parallel_4.4.1          AnnotationDbi_1.68.0    ReactomePA_1.50.0      
## [133] pillar_1.9.0            grid_4.4.1              vctrs_0.6.5            
## [136] cluster_2.1.6           xtable_1.8-4            Rgraphviz_2.50.0       
## [139] evaluate_1.0.1          magick_2.8.5            tinytex_0.53           
## [142] cli_3.6.3               compiler_4.4.1          rlang_1.1.4            
## [145] crayon_1.5.3            MeSHDbi_1.42.0          heatmaply_1.5.0        
## [148] fdrtool_1.2.18          plyr_1.8.9              fs_1.6.4               
## [151] stringi_1.8.4           viridisLite_0.4.2       BiocParallel_1.40.0    
## [154] assertthat_0.2.1        munsell_0.5.1           Biostrings_2.74.0      
## [157] lazyeval_0.2.2          GOSemSim_2.32.0         Matrix_1.7-1           
## [160] patchwork_1.3.0         nnTensor_1.3.0          bit64_4.5.2            
## [163] ggplot2_3.5.1           KEGGREST_1.46.0         highr_0.11             
## [166] igraph_2.1.1            memoise_2.0.1           bslib_0.8.0            
## [169] ggtree_3.14.0           fastmatch_1.1-4         bit_4.5.0              
## [172] gson_0.1.0              ape_5.8