Name Mode Size
R 040000
data 040000
inst 040000
man 040000
vignettes 040000
.Rinstignore 100644 0 kb
.gitignore 100644 0 kb
DESCRIPTION 100644 2 kb
LICENSE 100644 0 kb
NAMESPACE 100644 1 kb 100644 0 kb 100644 2 kb
<img id="compartmap_logo" src="man/figures/compartmap_logo.png" align="left" width="300"/><br /> <br /> ## Compartmap: Direct inference of higher-order chromatin structure in individual cells from scRNA-seq and scATAC-seq ### How to install the R package ``` # Release install.packages("BiocManager") BiocManager::install("compartmap") # Development install.packages("BiocManager") BiocManager::install("biobenkj/compartmap") ``` Compartmap extends methods proposed by Fortin and Hansen 2015, Genome Biology ( to perform direct inference of higher-order chromatin in _single cells_ from scRNA-seq and scATAC-seq. Originally, Fortin and Hansen demonstrated that chromatin conformation could be inferred from (sc)ATAC-seq, bisulfite sequencing, DNase-seq and methylation arrays, similar to the results provided by HiC at the group level. Thus, in addition to the base information provided by the aforementioned assays, chromatin state could also be inferred. Here, we propose a method to infer both group and single-cell level higher-order chromatin states from scRNA-seq and scATAC-seq. To accomplish this, we employ a James-Stein estimator (JSE) towards a global or targeted mean, using either chromsome or genome-wide information from scRNA-seq and scATAC-seq. Additionally, due to the sparsity of single-cell data, we employ a bootstrap procedure to quantify the uncertainty associated with the state and boundaries of inferred compartments. The output from compartmap can then be visualized directly, compared with orthogonal assay types, and/or embedded with something like UMAP or t-SNE. Further, to explore the higher-order interacting domains inferred from compartmap, we use a Random Matrix Theory (RMT) approach to resolve the "plaid-like" patterning, similar to what is observed in Hi-C and scHi-C.