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, setdiff, sort, table,
##     tapply, union, unique, unsplit, which.max, which.min
## Loading required package: BiocFileCache
## Loading required package: dbplyr
ah <- AnnotationHub()
mcols(ah)
## DataFrame with 70744 rows and 15 columns
##                           title dataprovider      species taxonomyid
##                     <character>  <character>  <character>  <integer>
## AH5012          Chromosome Band         UCSC Homo sapiens       9606
## AH5013              STS Markers         UCSC Homo sapiens       9606
## AH5014              FISH Clones         UCSC Homo sapiens       9606
## AH5015              Recomb Rate         UCSC Homo sapiens       9606
## AH5016             ENCODE Pilot         UCSC Homo sapiens       9606
## ...                         ...          ...          ...        ...
## AH114190 cadd.v1.6.hg38.chr20..  UWashington Homo sapiens       9606
## AH114191 cadd.v1.6.hg38.chr21..  UWashington Homo sapiens       9606
## AH114192 cadd.v1.6.hg38.chr22..  UWashington Homo sapiens       9606
## AH114193 cadd.v1.6.hg38.chrX...  UWashington Homo sapiens       9606
## AH114194 cadd.v1.6.hg38.chrY...  UWashington Homo sapiens       9606
##               genome            description coordinate_1_based
##          <character>            <character>          <integer>
## AH5012          hg19 GRanges object from ..                  1
## AH5013          hg19 GRanges object from ..                  1
## AH5014          hg19 GRanges object from ..                  1
## AH5015          hg19 GRanges object from ..                  1
## AH5016          hg19 GRanges object from ..                  1
## ...              ...                    ...                ...
## AH114190        hg38 CADD scores for Homo..                  1
## AH114191        hg38 CADD scores for Homo..                  1
## AH114192        hg38 CADD scores for Homo..                  1
## AH114193        hg38 CADD scores for Homo..                  1
## AH114194        hg38 CADD scores for Homo..                  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..
## ...                         ...            ...                    ...
## AH114190 Robert Castelo <robe..     2023-10-19         cadd.v1.6.hg38
## AH114191 Robert Castelo <robe..     2023-10-19         cadd.v1.6.hg38
## AH114192 Robert Castelo <robe..     2023-10-19         cadd.v1.6.hg38
## AH114193 Robert Castelo <robe..     2023-10-19         cadd.v1.6.hg38
## AH114194 Robert Castelo <robe..     2023-10-19         cadd.v1.6.hg38
##                                   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..
## ...                                ...         ...                    ...
## AH114190 CADD,GScores,Homo_sapiens,...         Rle cadd.v1.6.hg38/cadd...
## AH114191 CADD,GScores,Homo_sapiens,...         Rle cadd.v1.6.hg38/cadd...
## AH114192 CADD,GScores,Homo_sapiens,...         Rle cadd.v1.6.hg38/cadd...
## AH114193 CADD,GScores,Homo_sapiens,...         Rle cadd.v1.6.hg38/cadd...
## AH114194 CADD,GScores,Homo_sapiens,...         Rle cadd.v1.6.hg38/cadd...
##                       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
## ...                         ...         ...
## AH114190 http://functionalgen..         VCF
## AH114191 http://functionalgen..         VCF
## AH114192 http://functionalgen..         VCF
## AH114193 http://functionalgen..         VCF
## AH114194 http://functionalgen..         VCF

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/21bceb53feeeca_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/21bceb53feeeca_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"))
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.3.1 (2023-06-16)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 22.04.3 LTS
## 
## Matrix products: default
## BLAS:   /home/biocbuild/bbs-3.18-bioc/R/lib/libRblas.so 
## LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.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.24.0 SummarizedExperiment_1.32.0
##  [3] Biobase_2.62.0              GenomicRanges_1.54.0       
##  [5] GenomeInfoDb_1.38.0         IRanges_2.36.0             
##  [7] MatrixGenerics_1.14.0       matrixStats_1.0.0          
##  [9] scTensor_2.12.0             RSQLite_2.3.1              
## [11] LRBaseDbi_2.12.0            S4Vectors_0.40.0           
## [13] AnnotationHub_3.10.0        BiocFileCache_2.10.0       
## [15] dbplyr_2.3.4                BiocGenerics_0.48.0        
## [17] BiocStyle_2.30.0           
## 
## loaded via a namespace (and not attached):
##   [1] spatstat.sparse_3.0-3         fs_1.6.3                     
##   [3] bitops_1.0-7                  enrichplot_1.22.0            
##   [5] HDO.db_0.99.1                 httr_1.4.7                   
##   [7] webshot_0.5.5                 RColorBrewer_1.1-3           
##   [9] Rgraphviz_2.46.0              sctransform_0.4.1            
##  [11] tools_4.3.1                   backports_1.4.1              
##  [13] utf8_1.2.4                    R6_2.5.1                     
##  [15] uwot_0.1.16                   lazyeval_0.2.2               
##  [17] sp_2.1-1                      withr_2.5.1                  
##  [19] graphite_1.48.0               gridExtra_2.3                
##  [21] schex_1.16.0                  progressr_0.14.0             
##  [23] fdrtool_1.2.17                cli_3.6.1                    
##  [25] spatstat.explore_3.2-5        TSP_1.2-4                    
##  [27] scatterpie_0.2.1              entropy_1.3.1                
##  [29] sass_0.4.7                    Seurat_4.4.0                 
##  [31] spatstat.data_3.0-3           genefilter_1.84.0            
##  [33] pbapply_1.7-2                 ggridges_0.5.4               
##  [35] meshr_2.8.0                   yulab.utils_0.1.0            
##  [37] gson_0.1.0                    DOSE_3.28.0                  
##  [39] MeSHDbi_1.38.0                AnnotationForge_1.44.0       
##  [41] parallelly_1.36.0             nnTensor_1.2.0               
##  [43] plotrix_3.8-2                 maps_3.4.1                   
##  [45] visNetwork_2.1.2              generics_0.1.3               
##  [47] gridGraphics_0.5-1            GOstats_2.68.0               
##  [49] spatstat.random_3.2-1         ica_1.0-3                    
##  [51] dplyr_1.1.3                   dendextend_1.17.1            
##  [53] GO.db_3.18.0                  Matrix_1.6-1.1               
##  [55] fansi_1.0.5                   abind_1.4-5                  
##  [57] lifecycle_1.0.3               yaml_2.3.7                   
##  [59] qvalue_2.34.0                 SparseArray_1.2.0            
##  [61] Rtsne_0.16                    grid_4.3.1                   
##  [63] blob_1.2.4                    misc3d_0.9-1                 
##  [65] promises_1.2.1                crayon_1.5.2                 
##  [67] miniUI_0.1.1.1                lattice_0.22-5               
##  [69] cowplot_1.1.1                 annotate_1.80.0              
##  [71] KEGGREST_1.42.0               magick_2.8.1                 
##  [73] pillar_1.9.0                  knitr_1.44                   
##  [75] fgsea_1.28.0                  tcltk_4.3.1                  
##  [77] future.apply_1.11.0           codetools_0.2-19             
##  [79] leiden_0.4.3                  fastmatch_1.1-4              
##  [81] glue_1.6.2                    outliers_0.15                
##  [83] ggfun_0.1.3                   data.table_1.14.8            
##  [85] vctrs_0.6.4                   png_0.1-8                    
##  [87] treeio_1.26.0                 spam_2.10-0                  
##  [89] rTensor_1.4.8                 gtable_0.3.4                 
##  [91] assertthat_0.2.1              cachem_1.0.8                 
##  [93] xfun_0.40                     S4Arrays_1.2.0               
##  [95] mime_0.12                     tidygraph_1.2.3              
##  [97] survival_3.5-7                seriation_1.5.1              
##  [99] iterators_1.0.14              fields_15.2                  
## [101] fitdistrplus_1.1-11           interactiveDisplayBase_1.40.0
## [103] ellipsis_0.3.2                ROCR_1.0-11                  
## [105] nlme_3.1-163                  Category_2.68.0              
## [107] ggtree_3.10.0                 bit64_4.0.5                  
## [109] filelock_1.0.2                RcppAnnoy_0.0.21             
## [111] bslib_0.5.1                   irlba_2.3.5.1                
## [113] KernSmooth_2.23-22            colorspace_2.1-0             
## [115] DBI_1.1.3                     tidyselect_1.2.0             
## [117] bit_4.0.5                     compiler_4.3.1               
## [119] curl_5.1.0                    graph_1.80.0                 
## [121] DelayedArray_0.28.0           plotly_4.10.3                
## [123] bookdown_0.36                 shadowtext_0.1.2             
## [125] checkmate_2.2.0               scales_1.2.1                 
## [127] hexbin_1.28.3                 lmtest_0.9-40                
## [129] RBGL_1.78.0                   plot3D_1.4                   
## [131] rappdirs_0.3.3                goftest_1.2-3                
## [133] stringr_1.5.0                 digest_0.6.33                
## [135] spatstat.utils_3.0-4          rmarkdown_2.25               
## [137] ca_0.71.1                     XVector_0.42.0               
## [139] htmltools_0.5.6.1             pkgconfig_2.0.3              
## [141] fastmap_1.1.1                 rlang_1.1.1                  
## [143] htmlwidgets_1.6.2             shiny_1.7.5.1                
## [145] farver_2.1.1                  jquerylib_0.1.4              
## [147] zoo_1.8-12                    jsonlite_1.8.7               
## [149] BiocParallel_1.36.0           GOSemSim_2.28.0              
## [151] RCurl_1.98-1.12               magrittr_2.0.3               
## [153] GenomeInfoDbData_1.2.11       ggplotify_0.1.2              
## [155] dotCall64_1.1-0               patchwork_1.1.3              
## [157] munsell_0.5.0                 Rcpp_1.0.11                  
## [159] reticulate_1.34.0             ape_5.7-1                    
## [161] viridis_0.6.4                 stringi_1.7.12               
## [163] tagcloud_0.6                  ggraph_2.1.0                 
## [165] zlibbioc_1.48.0               MASS_7.3-60                  
## [167] plyr_1.8.9                    listenv_0.9.0                
## [169] parallel_4.3.1                HPO.db_0.99.2                
## [171] ggrepel_0.9.4                 deldir_1.0-9                 
## [173] Biostrings_2.70.0             graphlayouts_1.0.1           
## [175] splines_4.3.1                 tensor_1.5                   
## [177] igraph_1.5.1                  spatstat.geom_3.2-7          
## [179] reshape2_1.4.4                BiocVersion_3.18.0           
## [181] XML_3.99-0.14                 evaluate_0.22                
## [183] SeuratObject_4.1.4            BiocManager_1.30.22          
## [185] foreach_1.5.2                 tweenr_2.0.2                 
## [187] httpuv_1.6.12                 RANN_2.6.1                   
## [189] tidyr_1.3.0                   purrr_1.0.2                  
## [191] polyclip_1.10-6               scattermore_1.2              
## [193] future_1.33.0                 heatmaply_1.5.0              
## [195] ggplot2_3.4.4                 ReactomePA_1.46.0            
## [197] ggforce_0.4.1                 xtable_1.8-4                 
## [199] reactome.db_1.86.0            tidytree_0.4.5               
## [201] MPO.db_0.99.7                 later_1.3.1                  
## [203] viridisLite_0.4.2             tibble_3.2.1                 
## [205] aplot_0.2.2                   ccTensor_1.0.2               
## [207] memoise_2.0.1                 AnnotationDbi_1.64.0         
## [209] registry_0.5-1                cluster_2.1.4                
## [211] globals_0.16.2                concaveman_1.1.0             
## [213] GSEABase_1.64.0