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

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, 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()
## snapshotDate(): 2022-04-21
mcols(ah)
## DataFrame with 62869 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
## ...                         ...          ...                    ...        ...
## AH100784 Ensembl 106 EnsDb fo..      Ensembl Xiphophorus couchianus      32473
## AH100785 Ensembl 106 EnsDb fo..      Ensembl  Xiphophorus maculatus       8083
## AH100786 Ensembl 106 EnsDb fo..      Ensembl     Xenopus tropicalis       8364
## AH100787 Ensembl 106 EnsDb fo..      Ensembl Zonotrichia albicollis      44394
## AH100788 Ensembl 106 EnsDb fo..      Ensembl Zalophus californianus       9704
##                          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
## ...                         ...                    ...                ...
## AH100784 Xiphophorus_couchian.. Gene and protein ann..                  1
## AH100785   X_maculatus-5.0-male Gene and protein ann..                  1
## AH100786 Xenopus_tropicalis_v.. Gene and protein ann..                  1
## AH100787 Zonotrichia_albicoll.. Gene and protein ann..                  1
## AH100788           mZalCal1.pri Gene and protein ann..                  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..
## ...                         ...            ...                    ...
## AH100784 Johannes Rainer <joh..     2022-04-21               AHEnsDbs
## AH100785 Johannes Rainer <joh..     2022-04-21               AHEnsDbs
## AH100786 Johannes Rainer <joh..     2022-04-21               AHEnsDbs
## AH100787 Johannes Rainer <joh..     2022-04-21               AHEnsDbs
## AH100788 Johannes Rainer <joh..     2022-04-21               AHEnsDbs
##                                              tags  rdataclass
##                                            <AsIs> <character>
## AH5012                    cytoBand,UCSC,track,...     GRanges
## AH5013                      stsMap,UCSC,track,...     GRanges
## AH5014                  fishClones,UCSC,track,...     GRanges
## AH5015                  recombRate,UCSC,track,...     GRanges
## AH5016               encodeRegions,UCSC,track,...     GRanges
## ...                                           ...         ...
## AH100784 106,Annotation,AnnotationHubSoftware,...       EnsDb
## AH100785 106,Annotation,AnnotationHubSoftware,...       EnsDb
## AH100786 106,Annotation,AnnotationHubSoftware,...       EnsDb
## AH100787 106,Annotation,AnnotationHubSoftware,...       EnsDb
## AH100788 106,Annotation,AnnotationHubSoftware,...       EnsDb
##                       rdatapath              sourceurl  sourcetype
##                     <character>            <character> <character>
## AH5012   goldenpath/hg19/data.. rtracklayer://hgdown..  UCSC track
## AH5013   goldenpath/hg19/data.. rtracklayer://hgdown..  UCSC track
## AH5014   goldenpath/hg19/data.. rtracklayer://hgdown..  UCSC track
## AH5015   goldenpath/hg19/data.. rtracklayer://hgdown..  UCSC track
## AH5016   goldenpath/hg19/data.. rtracklayer://hgdown..  UCSC track
## ...                         ...                    ...         ...
## AH100784 AHEnsDbs/v106/EnsDb... http://www.ensembl.org     ensembl
## AH100785 AHEnsDbs/v106/EnsDb... http://www.ensembl.org     ensembl
## AH100786 AHEnsDbs/v106/EnsDb... http://www.ensembl.org     ensembl
## AH100787 AHEnsDbs/v106/EnsDb... http://www.ensembl.org     ensembl
## AH100788 AHEnsDbs/v106/EnsDb... http://www.ensembl.org     ensembl

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/8365b2b72e596_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: /var/cache/biocbuild_cache/R/AnnotationHub/8365b2b72e596_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

Figure2 : cellCellReport function of scTensor

Session Information

## R version 4.2.0 RC (2022-04-19 r82224)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 20.04.4 LTS
## 
## Matrix products: default
## BLAS:   /home/biocbuild/bbs-3.15-bioc/R/lib/libRblas.so
## LAPACK: /home/biocbuild/bbs-3.15-bioc/R/lib/libRlapack.so
## 
## 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       
## 
## attached base packages:
## [1] stats4    stats     graphics  grDevices utils     datasets  methods  
## [8] base     
## 
## other attached packages:
##  [1] SingleCellExperiment_1.18.0 SummarizedExperiment_1.26.0
##  [3] Biobase_2.56.0              GenomicRanges_1.48.0       
##  [5] GenomeInfoDb_1.32.0         IRanges_2.30.0             
##  [7] S4Vectors_0.34.0            MatrixGenerics_1.8.0       
##  [9] matrixStats_0.62.0          scTensor_2.6.0             
## [11] RSQLite_2.2.12              LRBaseDbi_2.6.0            
## [13] AnnotationHub_3.4.0         BiocFileCache_2.4.0        
## [15] dbplyr_2.1.1                BiocGenerics_0.42.0        
## [17] BiocStyle_2.24.0           
## 
## loaded via a namespace (and not attached):
##   [1] rappdirs_0.3.3                scattermore_0.8              
##   [3] AnnotationForge_1.38.0        SeuratObject_4.0.4           
##   [5] tidyr_1.2.0                   ggplot2_3.3.5                
##   [7] bit64_4.0.5                   knitr_1.38                   
##   [9] irlba_2.3.5                   DelayedArray_0.22.0          
##  [11] rpart_4.1.16                  data.table_1.14.2            
##  [13] KEGGREST_1.36.0               RCurl_1.98-1.6               
##  [15] generics_0.1.2                cowplot_1.1.1                
##  [17] shadowtext_0.1.2              RANN_2.6.1                   
##  [19] future_1.25.0                 bit_4.0.4                    
##  [21] enrichplot_1.16.0             spatstat.data_2.2-0          
##  [23] webshot_0.5.3                 httpuv_1.6.5                 
##  [25] assertthat_0.2.1              viridis_0.6.2                
##  [27] xfun_0.30                     jquerylib_0.1.4              
##  [29] evaluate_0.15                 promises_1.2.0.1             
##  [31] TSP_1.2-0                     fansi_1.0.3                  
##  [33] dendextend_1.15.2             Rgraphviz_2.40.0             
##  [35] igraph_1.3.1                  DBI_1.1.2                    
##  [37] htmlwidgets_1.5.4             spatstat.geom_2.4-0          
##  [39] purrr_0.3.4                   ellipsis_0.3.2               
##  [41] dplyr_1.0.8                   backports_1.4.1              
##  [43] bookdown_0.26                 annotate_1.74.0              
##  [45] deldir_1.0-6                  vctrs_0.4.1                  
##  [47] ROCR_1.0-11                   entropy_1.3.1                
##  [49] abind_1.4-5                   cachem_1.0.6                 
##  [51] withr_2.5.0                   ggforce_0.3.3                
##  [53] checkmate_2.1.0               sctransform_0.3.3            
##  [55] treeio_1.20.0                 fdrtool_1.2.17               
##  [57] goftest_1.2-3                 cluster_2.1.3                
##  [59] DOSE_3.22.0                   ape_5.6-2                    
##  [61] dotCall64_1.0-1               lazyeval_0.2.2               
##  [63] crayon_1.5.1                  genefilter_1.78.0            
##  [65] pkgconfig_2.0.3               tweenr_1.0.2                 
##  [67] nlme_3.1-157                  seriation_1.3.5              
##  [69] rlang_1.0.2                   globals_0.14.0               
##  [71] miniUI_0.1.1.1                lifecycle_1.0.1              
##  [73] meshr_2.2.0                   MeSHDbi_1.32.0               
##  [75] registry_0.5-1                filelock_1.0.2               
##  [77] rTensor_1.4.8                 GOstats_2.62.0               
##  [79] tcltk_4.2.0                   polyclip_1.10-0              
##  [81] lmtest_0.9-40                 graph_1.74.0                 
##  [83] Matrix_1.4-1                  aplot_0.1.3                  
##  [85] zoo_1.8-10                    ggridges_0.5.3               
##  [87] png_0.1-7                     viridisLite_0.4.0            
##  [89] bitops_1.0-7                  KernSmooth_2.23-20           
##  [91] visNetwork_2.1.0              spam_2.8-0                   
##  [93] Biostrings_2.64.0             blob_1.2.3                   
##  [95] stringr_1.4.0                 qvalue_2.28.0                
##  [97] spatstat.random_2.2-0         nnTensor_1.1.5               
##  [99] parallelly_1.31.1             gridGraphics_0.5-1           
## [101] reactome.db_1.79.0            scales_1.2.0                 
## [103] hexbin_1.28.2                 memoise_2.0.1                
## [105] graphite_1.42.0               GSEABase_1.58.0              
## [107] magrittr_2.0.3                plyr_1.8.7                   
## [109] ica_1.0-2                     zlibbioc_1.42.0              
## [111] compiler_4.2.0                scatterpie_0.1.7             
## [113] concaveman_1.1.0              RColorBrewer_1.1-3           
## [115] plotrix_3.8-2                 fitdistrplus_1.1-8           
## [117] cli_3.3.0                     XVector_0.36.0               
## [119] listenv_0.8.0                 Category_2.62.0              
## [121] pbapply_1.5-0                 patchwork_1.1.1              
## [123] mgcv_1.8-40                   MASS_7.3-57                  
## [125] tidyselect_1.1.2              stringi_1.7.6                
## [127] highr_0.9                     yaml_2.3.5                   
## [129] GOSemSim_2.22.0               ggrepel_0.9.1                
## [131] grid_4.2.0                    sass_0.4.1                   
## [133] fastmatch_1.1-3               tools_4.2.0                  
## [135] future.apply_1.9.0            parallel_4.2.0               
## [137] foreach_1.5.2                 tagcloud_0.6                 
## [139] outliers_0.15                 gridExtra_2.3                
## [141] farver_2.1.0                  Rtsne_0.16                   
## [143] ggraph_2.0.5                  digest_0.6.29                
## [145] BiocManager_1.30.17           shiny_1.7.1                  
## [147] Rcpp_1.0.8.3                  BiocVersion_3.15.2           
## [149] later_1.3.0                   RcppAnnoy_0.0.19             
## [151] httr_1.4.2                    AnnotationDbi_1.58.0         
## [153] colorspace_2.0-3              tensor_1.5                   
## [155] XML_3.99-0.9                  reticulate_1.24              
## [157] schex_1.10.0                  splines_4.2.0                
## [159] fields_13.3                   uwot_0.1.11                  
## [161] yulab.utils_0.0.4             RBGL_1.72.0                  
## [163] spatstat.utils_2.3-0          tidytree_0.3.9               
## [165] graphlayouts_0.8.0            ggplotify_0.1.0              
## [167] plotly_4.10.0                 xtable_1.8-4                 
## [169] jsonlite_1.8.0                ggtree_3.4.0                 
## [171] ccTensor_1.0.2                heatmaply_1.3.0              
## [173] tidygraph_1.2.1               ggfun_0.0.6                  
## [175] R6_2.5.1                      pillar_1.7.0                 
## [177] htmltools_0.5.2               mime_0.12                    
## [179] glue_1.6.2                    fastmap_1.1.0                
## [181] BiocParallel_1.30.0           interactiveDisplayBase_1.34.0
## [183] codetools_0.2-18              maps_3.4.0                   
## [185] fgsea_1.22.0                  utf8_1.2.2                   
## [187] spatstat.sparse_2.1-1         lattice_0.20-45              
## [189] bslib_0.3.1                   tibble_3.1.6                 
## [191] curl_4.3.2                    leiden_0.3.9                 
## [193] ReactomePA_1.40.0             misc3d_0.9-1                 
## [195] magick_2.7.3                  GO.db_3.15.0                 
## [197] survival_3.3-1                rmarkdown_2.14               
## [199] munsell_0.5.0                 DO.db_2.9                    
## [201] GenomeInfoDbData_1.2.8        plot3D_1.4                   
## [203] iterators_1.0.14              reshape2_1.4.4               
## [205] gtable_0.3.0                  spatstat.core_2.4-2          
## [207] Seurat_4.1.0