vignettes/weighted_nearest_neighbor_analysis.Rmd
weighted_nearest_neighbor_analysis.Rmd
The simultaneous measurement of multiple modalities, known as multimodal analysis, represents an exciting frontier for single-cell genomics and necessitates new computational methods that can define cellular states based on multiple data types. The varying information content of each modality, even across cells in the same dataset, represents a pressing challenge for the analysis and integration of multimodal datasets. In (Hao*, Hao* et al, Cell 2021), we introduce ‘weighted-nearest neighbor’ (WNN) analysis, an unsupervised framework to learn the relative utility of each data type in each cell, enabling an integrative analysis of multiple modalities.
This vignette introduces the WNN workflow for the analysis of multimodal single-cell datasets. The workflow consists of three steps
We demonstrate the use of WNN analysis to two single-cell multimodal technologies: CITE-seq and 10x multiome. We define the cellular states based on both modalities, instead of either individual modality.
We use the CITE-seq dataset from (Stuart*, Butler* et al, Cell 2019), which consists of 30,672 scRNA-seq profiles measured alongside a panel of 25 antibodies from bone marrow. The object contains two assays, RNA and antibody-derived tags (ADT).
To run this vignette please install Seurat v4, available on CRAN, and SeuratData, available on GitHub.
install.packages("Seurat")
InstallData("bmcite")
bm <- LoadData(ds = "bmcite")
We first perform pre-processing and dimensional reduction on both assays independently. We use standard normalization, but you can also use SCTransform or any alternative method.
DefaultAssay(bm) <- 'RNA'
bm <- NormalizeData(bm) %>% FindVariableFeatures() %>% ScaleData() %>% RunPCA()
DefaultAssay(bm) <- 'ADT'
# we will use all ADT features for dimensional reduction
# we set a dimensional reduction name to avoid overwriting the
VariableFeatures(bm) <- rownames(bm[["ADT"]])
bm <- NormalizeData(bm, normalization.method = 'CLR', margin = 2) %>%
ScaleData() %>% RunPCA(reduction.name = 'apca')
For each cell, we calculate its closest neighbors in the dataset based on a weighted combination of RNA and protein similarities. The cell-specific modality weights and multimodal neighbors are calculated in a single function, which takes ~2 minutes to run on this dataset. We specify the dimensionality of each modality (similar to specifying the number of PCs to include in scRNA-seq clustering), but you can vary these settings to see that small changes have minimal effect on the overall results.
# Identify multimodal neighbors. These will be stored in the neighbors slot,
# and can be accessed using bm[['weighted.nn']]
# The WNN graph can be accessed at bm[["wknn"]],
# and the SNN graph used for clustering at bm[["wsnn"]]
# Cell-specific modality weights can be accessed at bm$RNA.weight
bm <- FindMultiModalNeighbors(
bm, reduction.list = list("pca", "apca"),
dims.list = list(1:30, 1:18), modality.weight.name = "RNA.weight"
)
We can now use these results for downstream analysis, such as visualization and clustering. For example, we can create a UMAP visualization of the data based on a weighted combination of RNA and protein data We can also perform graph-based clustering and visualize these results on the UMAP, alongside a set of cell annotations.
bm <- RunUMAP(bm, nn.name = "weighted.nn", reduction.name = "wnn.umap", reduction.key = "wnnUMAP_")
bm <- FindClusters(bm, graph.name = "wsnn", algorithm = 3, resolution = 2, verbose = FALSE)
p1 <- DimPlot(bm, reduction = 'wnn.umap', label = TRUE, repel = TRUE, label.size = 2.5) + NoLegend()
p2 <- DimPlot(bm, reduction = 'wnn.umap', group.by = 'celltype.l2', label = TRUE, repel = TRUE, label.size = 2.5) + NoLegend()
p1 + p2
We can also compute UMAP visualization based on only the RNA and protein data and compare. We find that the RNA analysis is more informative than the ADT analysis in identifying progenitor states (the ADT panel contains markers for differentiated cells), while the converse is true of T cell states (where the ADT analysis outperforms RNA).
bm <- RunUMAP(bm, reduction = 'pca', dims = 1:30, assay = 'RNA',
reduction.name = 'rna.umap', reduction.key = 'rnaUMAP_')
bm <- RunUMAP(bm, reduction = 'apca', dims = 1:18, assay = 'ADT',
reduction.name = 'adt.umap', reduction.key = 'adtUMAP_')
p3 <- DimPlot(bm, reduction = 'rna.umap', group.by = 'celltype.l2', label = TRUE,
repel = TRUE, label.size = 2.5) + NoLegend()
p4 <- DimPlot(bm, reduction = 'adt.umap', group.by = 'celltype.l2', label = TRUE,
repel = TRUE, label.size = 2.5) + NoLegend()
p3 + p4
We can visualize the expression of canonical marker genes and proteins on the multimodal UMAP, which can assist in verifying the provided annotations:
p5 <- FeaturePlot(bm, features = c("adt_CD45RA","adt_CD16","adt_CD161"),
reduction = 'wnn.umap', max.cutoff = 2,
cols = c("lightgrey","darkgreen"), ncol = 3)
p6 <- FeaturePlot(bm, features = c("rna_TRDC","rna_MPO","rna_AVP"),
reduction = 'wnn.umap', max.cutoff = 3, ncol = 3)
p5 / p6
Finally, we can visualize the modality weights that were learned for each cell. Each of the populations with the highest RNA weights represent progenitor cells, while the populations with the highest protein weights represent T cells. This is in line with our biological expectations, as the antibody panel does not contain markers that can distinguish between different progenitor populations.
Here, we demonstrate the use of WNN analysis to a second multimodal technology, the 10x multiome RNA+ATAC kit. We use a dataset that is publicly available on the 10x website, where paired transcriptomes and ATAC-seq profiles are measured in 10,412 PBMCs.
We use the same WNN methods as we use in the previous tab, where we apply integrated multimodal analysis to a CITE-seq dataset. In this example we will demonstrate how to:
You can download the dataset from the 10x Genomics website here. Please make sure to download the following files:
Finally, in order to run the vignette, make sure the following packages are installed:
We’ll create a Seurat object based on the gene expression data, and then add in the ATAC-seq data as a second assay. You can explore the Signac getting started vignette for more information on the creation and processing of a ChromatinAssay object.
# the 10x hdf5 file contains both data types.
inputdata.10x <- Read10X_h5("../data/pbmc_granulocyte_sorted_10k_filtered_feature_bc_matrix.h5")
# extract RNA and ATAC data
rna_counts <- inputdata.10x$`Gene Expression`
atac_counts <- inputdata.10x$Peaks
# Create Seurat object
pbmc <- CreateSeuratObject(counts = rna_counts)
pbmc[["percent.mt"]] <- PercentageFeatureSet(pbmc, pattern = "^MT-")
# Now add in the ATAC-seq data
# we'll only use peaks in standard chromosomes
grange.counts <- StringToGRanges(rownames(atac_counts), sep = c(":", "-"))
grange.use <- seqnames(grange.counts) %in% standardChromosomes(grange.counts)
atac_counts <- atac_counts[as.vector(grange.use), ]
annotations <- GetGRangesFromEnsDb(ensdb = EnsDb.Hsapiens.v86)
seqlevelsStyle(annotations) <- 'UCSC'
genome(annotations) <- "hg38"
frag.file <- "../data/pbmc_granulocyte_sorted_10k_atac_fragments.tsv.gz"
chrom_assay <- CreateChromatinAssay(
counts = atac_counts,
sep = c(":", "-"),
genome = 'hg38',
fragments = frag.file,
min.cells = 10,
annotation = annotations
)
pbmc[["ATAC"]] <- chrom_assay
We perform basic QC based on the number of detected molecules for each modality as well as mitochondrial percentage.
VlnPlot(pbmc, features = c("nCount_ATAC", "nCount_RNA","percent.mt"), ncol = 3,
log = TRUE, pt.size = 0) + NoLegend()
pbmc <- subset(
x = pbmc,
subset = nCount_ATAC < 7e4 &
nCount_ATAC > 5e3 &
nCount_RNA < 25000 &
nCount_RNA > 1000 &
percent.mt < 20
)
We next perform pre-processing and dimensional reduction on both assays independently, using standard approaches for RNA and ATAC-seq data.
# RNA analysis
DefaultAssay(pbmc) <- "RNA"
pbmc <- SCTransform(pbmc, verbose = FALSE) %>% RunPCA() %>% RunUMAP(dims = 1:50, reduction.name = 'umap.rna', reduction.key = 'rnaUMAP_')
# ATAC analysis
# We exclude the first dimension as this is typically correlated with sequencing depth
DefaultAssay(pbmc) <- "ATAC"
pbmc <- RunTFIDF(pbmc)
pbmc <- FindTopFeatures(pbmc, min.cutoff = 'q0')
pbmc <- RunSVD(pbmc)
pbmc <- RunUMAP(pbmc, reduction = 'lsi', dims = 2:50, reduction.name = "umap.atac", reduction.key = "atacUMAP_")
We calculate a WNN graph, representing a weighted combination of RNA and ATAC-seq modalities. We use this graph for UMAP visualization and clustering
pbmc <- FindMultiModalNeighbors(pbmc, reduction.list = list("pca", "lsi"), dims.list = list(1:50, 2:50))
pbmc <- RunUMAP(pbmc, nn.name = "weighted.nn", reduction.name = "wnn.umap", reduction.key = "wnnUMAP_")
pbmc <- FindClusters(pbmc, graph.name = "wsnn", algorithm = 3, verbose = FALSE)
We annotate the clusters below. Note that you could also annotate the dataset using our supervised mapping pipelines, using either our vignette, or automated web tool, Azimuth.
# perform sub-clustering on cluster 6 to find additional structure
pbmc <- FindSubCluster(pbmc, cluster = 6, graph.name = "wsnn", algorithm = 3)
Idents(pbmc) <- "sub.cluster"
# add annotations
pbmc <- RenameIdents(pbmc, '19' = 'pDC','20' = 'HSPC','15' = 'cDC')
pbmc <- RenameIdents(pbmc, '0' = 'CD14 Mono', '9' ='CD14 Mono', '5' = 'CD16 Mono')
pbmc <- RenameIdents(pbmc, '10' = 'Naive B', '11' = 'Intermediate B', '17' = 'Memory B', '21' = 'Plasma')
pbmc <- RenameIdents(pbmc, '7' = 'NK')
pbmc <- RenameIdents(pbmc, '4' = 'CD4 TCM', '13'= "CD4 TEM", '3' = "CD4 TCM", '16' ="Treg", '1' ="CD4 Naive", '14' = "CD4 Naive")
pbmc <- RenameIdents(pbmc, '2' = 'CD8 Naive', '8'= "CD8 Naive", '12' = 'CD8 TEM_1', '6_0' = 'CD8 TEM_2', '6_1' ='CD8 TEM_2', '6_4' ='CD8 TEM_2')
pbmc <- RenameIdents(pbmc, '18' = 'MAIT')
pbmc <- RenameIdents(pbmc, '6_2' ='gdT', '6_3' = 'gdT')
pbmc$celltype <- Idents(pbmc)
We can visualize clustering based on gene expression, ATAC-seq, or WNN analysis. The differences are more subtle than in the previous analysis (you can explore the weights, which are more evenly split than in our CITE-seq example), but we find that WNN provides the clearest separation of cell states.
p1 <- DimPlot(pbmc, reduction = "umap.rna", group.by = "celltype", label = TRUE, label.size = 2.5, repel = TRUE) + ggtitle("RNA")
p2 <- DimPlot(pbmc, reduction = "umap.atac", group.by = "celltype", label = TRUE, label.size = 2.5, repel = TRUE) + ggtitle("ATAC")
p3 <- DimPlot(pbmc, reduction = "wnn.umap", group.by = "celltype", label = TRUE, label.size = 2.5, repel = TRUE) + ggtitle("WNN")
p1 + p2 + p3 & NoLegend() & theme(plot.title = element_text(hjust = 0.5))
For example, the ATAC-seq data assists in the separation of CD4 and CD8 T cell states. This is due to the presence of multiple loci that exhibit differential accessibility between different T cell subtypes. For example, we can visualize ‘pseudobulk’ tracks of the CD8A locus alongside violin plots of gene expression levels, using tools in the Signac visualization vignette.
## to make the visualization easier, subset T cell clusters
celltype.names <- levels(pbmc)
tcell.names <- grep("CD4|CD8|Treg", celltype.names,value = TRUE)
tcells <- subset(pbmc, idents = tcell.names)
CoveragePlot(tcells, region = 'CD8A', features = 'CD8A', assay = 'ATAC', expression.assay = 'SCT', peaks = FALSE)
Next, we will examine the accessible regions of each cell to determine enriched motifs. As described in the Signac motifs vignette, there are a few ways to do this, but we will use the chromVAR package from the Greenleaf lab. This calculates a per-cell accessibility score for known motifs, and adds these scores as a third assay (chromvar
) in the Seurat object.
To continue, please make sure you have the following packages installed.
remotes::install_github("immunogenomics/presto")
BiocManager::install(c("chromVAR", "TFBSTools", "JASPAR2020", "motifmatchr", "BSgenome.Hsapiens.UCSC.hg38"))
library(chromVAR)
library(JASPAR2020)
library(TFBSTools)
library(motifmatchr)
library(BSgenome.Hsapiens.UCSC.hg38)
# Scan the DNA sequence of each peak for the presence of each motif, and create a Motif object
DefaultAssay(pbmc) <- "ATAC"
pwm_set <- getMatrixSet(x = JASPAR2020, opts = list(species = 9606, all_versions = FALSE))
motif.matrix <- CreateMotifMatrix(features = granges(pbmc), pwm = pwm_set, genome = 'hg38', use.counts = FALSE)
motif.object <- CreateMotifObject(data = motif.matrix, pwm = pwm_set)
pbmc <- SetAssayData(pbmc, assay = 'ATAC', slot = 'motifs', new.data = motif.object)
# Note that this step can take 30-60 minutes
pbmc <- RunChromVAR(
object = pbmc,
genome = BSgenome.Hsapiens.UCSC.hg38
)
Finally, we explore the multimodal dataset to identify key regulators of each cell state. Paired data provides a unique opportunity to identify transcription factors (TFs) that satisfy multiple criteria, helping to narrow down the list of putative regulators to the most likely candidates. We aim to identify TFs whose expression is enriched in multiple cell types in the RNA measurements, but also have enriched accessibility for their motifs in the ATAC measurements.
As an example and positive control, the CCAAT Enhancer Binding Protein (CEBP) family of proteins, including the TF CEBPB, have been repeatedly shown to play important roles in the differentiation and function of myeloid cells including monocytes and dendritic cells. We can see that both the expression of the CEBPB, and the accessibility of the MA0466.2.4 motif (which encodes the binding site for CEBPB), are both enriched in monocytes.
#returns MA0466.2
motif.name <- ConvertMotifID(pbmc, name = 'CEBPB')
gene_plot <- FeaturePlot(pbmc, features = "sct_CEBPB", reduction = 'wnn.umap')
motif_plot <- FeaturePlot(pbmc, features = motif.name, min.cutoff = 0, cols = c("lightgrey", "darkred"), reduction = 'wnn.umap')
gene_plot | motif_plot
We’d like to quantify this relationship, and search across all cell types to find similar examples. To do so, we will use the presto
package to perform fast differential expression. We run two tests: one using gene expression data, and the other using chromVAR motif accessibilities. presto
calculates a p-value based on the Wilcox rank sum test, which is also the default test in Seurat, and we restrict our search to TFs that return significant results in both tests.
presto
also calculates an “AUC” statistic, which reflects the power of each gene (or motif) to serve as a marker of cell type. A maximum AUC value of 1 indicates a perfect marker. Since the AUC statistic is on the same scale for both genes and motifs, we take the average of the AUC values from the two tests, and use this to rank TFs for each cell type:
markers_rna <- presto:::wilcoxauc.Seurat(X = pbmc, group_by = 'celltype', assay = 'data', seurat_assay = 'SCT')
markers_motifs <- presto:::wilcoxauc.Seurat(X = pbmc, group_by = 'celltype', assay = 'data', seurat_assay = 'chromvar')
motif.names <- markers_motifs$feature
colnames(markers_rna) <- paste0("RNA.", colnames(markers_rna))
colnames(markers_motifs) <- paste0("motif.", colnames(markers_motifs))
markers_rna$gene <- markers_rna$RNA.feature
markers_motifs$gene <- ConvertMotifID(pbmc, id = motif.names)
# a simple function to implement the procedure above
topTFs <- function(celltype, padj.cutoff = 1e-2) {
ctmarkers_rna <- dplyr::filter(
markers_rna, RNA.group == celltype, RNA.padj < padj.cutoff, RNA.logFC > 0) %>%
arrange(-RNA.auc)
ctmarkers_motif <- dplyr::filter(
markers_motifs, motif.group == celltype, motif.padj < padj.cutoff, motif.logFC > 0) %>%
arrange(-motif.auc)
top_tfs <- inner_join(
x = ctmarkers_rna[, c(2, 11, 6, 7)],
y = ctmarkers_motif[, c(2, 1, 11, 6, 7)], by = "gene"
)
top_tfs$avg_auc <- (top_tfs$RNA.auc + top_tfs$motif.auc) / 2
top_tfs <- arrange(top_tfs, -avg_auc)
return(top_tfs)
}
We can now compute, and visualize, putative regulators for any cell type. We recover well-established regulators, including TBX21 for NK cells, IRF4 for plasma cells, SOX4 for hematopoietic progenitors, EBF1 and PAX5 for B cells, IRF8 and TCF4 for pDC. We believe that similar strategies can be used to help focus on a set of putative regulators in diverse systems.
# identify top markers in NK and visualize
head(topTFs("NK"), 3)
## RNA.group gene RNA.auc RNA.pval motif.group motif.feature motif.auc
## 1 NK TBX21 0.7270859 0.000000e+00 NK MA0690.1 0.9139614
## 2 NK EOMES 0.5886774 2.411013e-98 NK MA0800.1 0.9214773
## 3 NK RUNX3 0.7705661 5.977716e-120 NK MA0684.2 0.6769022
## motif.pval avg_auc
## 1 1.097940e-202 0.8205237
## 2 4.903866e-210 0.7550774
## 3 1.560061e-38 0.7237341
motif.name <- ConvertMotifID(pbmc, name = 'TBX21')
gene_plot <- FeaturePlot(pbmc, features = "sct_TBX21", reduction = 'wnn.umap')
motif_plot <- FeaturePlot(pbmc, features = motif.name, min.cutoff = 0, cols = c("lightgrey", "darkred"), reduction = 'wnn.umap')
gene_plot | motif_plot
# identify top markers in pDC and visualize
head(topTFs("pDC"), 3)
## RNA.group gene RNA.auc RNA.pval motif.group motif.feature motif.auc
## 1 pDC TCF4 0.9998815 1.120711e-162 pDC MA0830.2 0.9965481
## 2 pDC IRF8 0.9904457 1.308164e-123 pDC MA0652.1 0.8833112
## 3 pDC SPIB 0.9115207 0.000000e+00 pDC MA0081.2 0.9068540
## motif.pval avg_auc
## 1 1.785897e-69 0.9982148
## 2 3.982413e-42 0.9368785
## 3 3.083509e-47 0.9091874
motif.name <- ConvertMotifID(pbmc, name = 'TCF4')
gene_plot <- FeaturePlot(pbmc, features = "sct_TCF4", reduction = 'wnn.umap')
motif_plot <- FeaturePlot(pbmc, features = motif.name, min.cutoff = 0, cols = c("lightgrey", "darkred"), reduction = 'wnn.umap')
gene_plot | motif_plot
# identify top markers in HSPC and visualize
head(topTFs("CD16 Mono"),3)
## RNA.group gene RNA.auc RNA.pval motif.group motif.feature motif.auc
## 1 CD16 Mono SPI1 0.8793172 1.666810e-296 CD16 Mono MA0080.5 0.8880908
## 2 CD16 Mono CEBPB 0.8685933 1.625472e-294 CD16 Mono MA0466.2 0.7840422
## 3 CD16 Mono MEF2C 0.7129910 2.727252e-79 CD16 Mono MA0497.1 0.8059373
## motif.pval avg_auc
## 1 4.762491e-194 0.8837040
## 2 7.049764e-105 0.8263177
## 3 2.345716e-121 0.7594641
motif.name <- ConvertMotifID(pbmc, name = 'SPI1')
gene_plot <- FeaturePlot(pbmc, features = "sct_SPI1", reduction = 'wnn.umap')
motif_plot <- FeaturePlot(pbmc, features = motif.name, min.cutoff = 0, cols = c("lightgrey", "darkred"), reduction = 'wnn.umap')
gene_plot | motif_plot
# identify top markers in other cell types
head(topTFs("Naive B"), 3)
## RNA.group gene RNA.auc RNA.pval motif.group motif.feature motif.auc
## 1 Naive B MEF2C 0.8802747 1.890065e-182 Naive B MA0497.1 0.6789079
## 2 Naive B PAX5 0.9436648 0.000000e+00 Naive B MA0014.3 0.5827061
## 3 Naive B POU2F2 0.6029377 2.892216e-13 Naive B MA0507.1 0.8912268
## motif.pval avg_auc
## 1 9.815118e-32 0.7795913
## 2 5.995185e-08 0.7631854
## 3 6.471677e-145 0.7470822
head(topTFs("HSPC"), 3)
## RNA.group gene RNA.auc RNA.pval motif.group motif.feature motif.auc
## 1 HSPC SOX4 0.9869406 5.524832e-71 HSPC MA0867.2 0.6830497
## 2 HSPC GATA2 0.7884615 0.000000e+00 HSPC MA0036.3 0.8275008
## 3 HSPC MEIS1 0.8638496 0.000000e+00 HSPC MA0498.2 0.6924225
## motif.pval avg_auc
## 1 1.241915e-03 0.8349951
## 2 7.591798e-09 0.8079812
## 3 6.877492e-04 0.7781361
head(topTFs("Plasma"), 3)
## RNA.group gene RNA.auc RNA.pval motif.group motif.feature motif.auc
## 1 Plasma IRF4 0.8189687 5.261955e-35 Plasma MA1419.1 0.9776046
## 2 Plasma MEF2C 0.9111213 2.977155e-12 Plasma MA0497.1 0.7596637
## 3 Plasma TCF4 0.8049409 6.810635e-12 Plasma MA0830.2 0.7840848
## motif.pval avg_auc
## 1 2.334627e-12 0.8982867
## 2 1.374353e-04 0.8353925
## 3 3.028306e-05 0.7945129
## R version 4.2.0 (2022-04-22)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 20.04.5 LTS
##
## Matrix products: default
## BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
## LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/liblapack.so.3
##
## locale:
## [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
## [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
## [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
## [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
## [9] LC_ADDRESS=C LC_TELEPHONE=C
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
##
## attached base packages:
## [1] stats4 stats graphics grDevices utils datasets methods
## [8] base
##
## other attached packages:
## [1] BSgenome.Hsapiens.UCSC.hg38_1.4.5 BSgenome_1.66.3
## [3] rtracklayer_1.58.0 Biostrings_2.66.0
## [5] XVector_0.38.0 motifmatchr_1.20.0
## [7] TFBSTools_1.36.0 JASPAR2020_0.99.10
## [9] chromVAR_1.20.2 EnsDb.Hsapiens.v86_2.99.0
## [11] ensembldb_2.22.0 AnnotationFilter_1.22.0
## [13] GenomicFeatures_1.50.4 AnnotationDbi_1.60.0
## [15] Biobase_2.58.0 GenomicRanges_1.50.2
## [17] GenomeInfoDb_1.35.16 IRanges_2.32.0
## [19] S4Vectors_0.36.2 BiocGenerics_0.44.0
## [21] Signac_1.9.0 ggplot2_3.4.1
## [23] dplyr_1.1.1 cowplot_1.1.1
## [25] thp1.eccite.SeuratData_3.1.5 stxBrain.SeuratData_0.1.1
## [27] ssHippo.SeuratData_3.1.4 pbmcsca.SeuratData_3.0.0
## [29] pbmcMultiome.SeuratData_0.1.2 pbmc3k.SeuratData_3.1.4
## [31] panc8.SeuratData_3.0.2 ifnb.SeuratData_3.1.0
## [33] hcabm40k.SeuratData_3.0.0 bmcite.SeuratData_0.3.0
## [35] SeuratData_0.2.2 SeuratObject_4.1.3
## [37] Seurat_4.2.1.9001
##
## loaded via a namespace (and not attached):
## [1] rappdirs_0.3.3 scattermore_0.8
## [3] R.methodsS3_1.8.2 ragg_1.2.5
## [5] nabor_0.5.0 tidyr_1.3.0
## [7] bit64_4.0.5 knitr_1.42
## [9] R.utils_2.12.2 irlba_2.3.5.1
## [11] DelayedArray_0.24.0 data.table_1.14.8
## [13] rpart_4.1.16 KEGGREST_1.38.0
## [15] RCurl_1.98-1.12 generics_0.1.3
## [17] RSQLite_2.3.0 RANN_2.6.1
## [19] future_1.32.0 tzdb_0.3.0
## [21] bit_4.0.5 spatstat.data_3.0-1
## [23] xml2_1.3.3 httpuv_1.6.9
## [25] SummarizedExperiment_1.28.0 DirichletMultinomial_1.40.0
## [27] xfun_0.38 hms_1.1.2
## [29] jquerylib_0.1.4 evaluate_0.20
## [31] promises_1.2.0.1 fansi_1.0.4
## [33] restfulr_0.0.15 progress_1.2.2
## [35] caTools_1.18.2 dbplyr_2.3.1
## [37] igraph_1.4.1 DBI_1.1.3
## [39] htmlwidgets_1.6.2 spatstat.geom_3.1-0
## [41] purrr_1.0.1 ellipsis_0.3.2
## [43] backports_1.4.1 annotate_1.76.0
## [45] biomaRt_2.54.0 deldir_1.0-6
## [47] MatrixGenerics_1.10.0 vctrs_0.6.1
## [49] ROCR_1.0-11 abind_1.4-5
## [51] cachem_1.0.7 withr_2.5.0
## [53] progressr_0.13.0 presto_1.0.0
## [55] checkmate_2.1.0 sctransform_0.3.5
## [57] GenomicAlignments_1.34.0 prettyunits_1.1.1
## [59] goftest_1.2-3 cluster_2.1.3
## [61] seqLogo_1.64.0 lazyeval_0.2.2
## [63] crayon_1.5.2 hdf5r_1.3.8
## [65] spatstat.explore_3.1-0 pkgconfig_2.0.3
## [67] labeling_0.4.2 nlme_3.1-157
## [69] ProtGenerics_1.30.0 nnet_7.3-17
## [71] rlang_1.1.0 globals_0.16.2
## [73] lifecycle_1.0.3 miniUI_0.1.1.1
## [75] filelock_1.0.2 BiocFileCache_2.6.1
## [77] dichromat_2.0-0.1 rprojroot_2.0.3
## [79] polyclip_1.10-4 matrixStats_0.63.0
## [81] lmtest_0.9-40 Matrix_1.5-3
## [83] zoo_1.8-11 base64enc_0.1-3
## [85] ggridges_0.5.4 png_0.1-8
## [87] viridisLite_0.4.1 rjson_0.2.21
## [89] bitops_1.0-7 R.oo_1.25.0
## [91] KernSmooth_2.23-20 blob_1.2.3
## [93] stringr_1.5.0 parallelly_1.35.0
## [95] spatstat.random_3.1-4 readr_2.1.4
## [97] jpeg_0.1-10 CNEr_1.34.0
## [99] scales_1.2.1 memoise_2.0.1
## [101] magrittr_2.0.3 plyr_1.8.8
## [103] ica_1.0-3 zlibbioc_1.44.0
## [105] compiler_4.2.0 BiocIO_1.8.0
## [107] RColorBrewer_1.1-3 fitdistrplus_1.1-8
## [109] Rsamtools_2.14.0 cli_3.6.1
## [111] listenv_0.9.0 patchwork_1.1.2
## [113] pbapply_1.7-0 htmlTable_2.4.1
## [115] Formula_1.2-5 MASS_7.3-56
## [117] tidyselect_1.2.0 stringi_1.7.12
## [119] textshaping_0.3.6 highr_0.10
## [121] yaml_2.3.7 latticeExtra_0.6-30
## [123] ggrepel_0.9.3 grid_4.2.0
## [125] sass_0.4.5 VariantAnnotation_1.44.1
## [127] fastmatch_1.1-3 tools_4.2.0
## [129] future.apply_1.10.0 parallel_4.2.0
## [131] rstudioapi_0.14 TFMPvalue_0.0.9
## [133] foreign_0.8-82 gridExtra_2.3
## [135] farver_2.1.1 Rtsne_0.16
## [137] digest_0.6.31 pracma_2.4.2
## [139] shiny_1.7.4 Rcpp_1.0.10
## [141] later_1.3.0 RcppAnnoy_0.0.20
## [143] httr_1.4.5 biovizBase_1.46.0
## [145] colorspace_2.1-0 XML_3.99-0.13
## [147] fs_1.6.1 tensor_1.5
## [149] reticulate_1.28 splines_4.2.0
## [151] uwot_0.1.14 RcppRoll_0.3.0
## [153] spatstat.utils_3.0-2 pkgdown_2.0.7
## [155] sp_1.6-0 plotly_4.10.1
## [157] systemfonts_1.0.4 xtable_1.8-4
## [159] poweRlaw_0.70.6 jsonlite_1.8.4
## [161] R6_2.5.1 Hmisc_4.8-0
## [163] pillar_1.9.0 htmltools_0.5.5
## [165] mime_0.12 DT_0.27
## [167] glue_1.6.2 fastmap_1.1.1
## [169] BiocParallel_1.32.5 codetools_0.2-18
## [171] utf8_1.2.3 lattice_0.20-45
## [173] bslib_0.4.2 spatstat.sparse_3.0-1
## [175] tibble_3.2.1 curl_5.0.0
## [177] leiden_0.4.3 gtools_3.9.4
## [179] GO.db_3.16.0 interp_1.1-3
## [181] survival_3.3-1 rmarkdown_2.21
## [183] desc_1.4.2 munsell_0.5.0
## [185] GenomeInfoDbData_1.2.9 reshape2_1.4.4
## [187] gtable_0.3.3