| Title: | Single Cell Entropy for Estimating Differentiation Potency |
|---|---|
| Description: | Estimates differentiation potency of single cells from scRNA-Seq data using signaling entropy on protein interaction networks. Implements both the full Signaling Entropy Rate (SR) and the fast CCAT approximation. Based on the method described in Teschendorff AE, Enver T (2017) <doi:10.1038/ncomms15599>. |
| Authors: | Andrew E Teschendorff [aut], Zaoqu Liu [aut, cre] |
| Maintainer: | Zaoqu Liu <[email protected]> |
| License: | GPL-3 |
| Version: | 2.0.0 |
| Built: | 2026-05-23 08:27:59 UTC |
| Source: | https://github.com/Zaoqu-Liu/SCENT |
Estimates signaling entropy via correlation between gene expression and network connectivity.
CompCCAT(exp.m, ppiA.m)CompCCAT(exp.m, ppiA.m)
exp.m |
Gene expression matrix (genes x cells). Supports dense or sparse. |
ppiA.m |
PPI network adjacency matrix (genes x genes). |
CCAT computes the Pearson correlation between gene expression and network degree (number of interaction partners) for each cell. This approximation is based on the observation that pluripotent cells express hub genes at higher levels.
The method automatically applies log2(x+1) transformation if the input appears to be raw counts (max > 50).
Numeric vector of CCAT scores (one per cell). Higher values indicate higher differentiation potency.
Andrew E Teschendorff, Zaoqu Liu
Teschendorff AE, Enver T. Nat Commun. 2017;8:15599.
## Not run: data(net13Jun12.m) exp <- matrix(rpois(5000 * 100, 5), nrow = 5000) rownames(exp) <- head(rownames(net13Jun12.m), 5000) ccat <- CompCCAT(exp, net13Jun12.m) ## End(Not run)## Not run: data(net13Jun12.m) exp <- matrix(rpois(5000 * 100, 5), nrow = 5000) rownames(exp) <- head(rownames(net13Jun12.m), 5000) ccat <- CompCCAT(exp, net13Jun12.m) ## End(Not run)
Computes single-cell differentiation potency using the signaling entropy rate on a protein interaction network.
CompSRana(integ.l, local = FALSE)CompSRana(integ.l, local = FALSE)
integ.l |
Output from |
local |
Logical. If TRUE, returns normalized local entropies. Default FALSE. |
The signaling entropy rate is defined as:
where is the stationary distribution and is the local
entropy at gene j. is the maximum entropy rate of the network,
computed from the largest eigenvalue of the adjacency matrix.
List with elements:
Signaling entropy rate (0-1). Higher = higher potency.
Stationary distribution matrix (genes x cells).
Local entropy matrix (genes x cells).
Normalized local entropies, or NULL if local = FALSE.
Andrew E Teschendorff, Zaoqu Liu
Teschendorff AE, Enver T. Nat Commun. 2017;8:15599.
## Not run: data(net13Jun12.m) exp <- matrix(rpois(5000 * 50, 5), nrow = 5000) rownames(exp) <- head(rownames(net13Jun12.m), 5000) integ <- DoIntegPPI(exp, net13Jun12.m) sr <- CompSRana(integ) ## End(Not run)## Not run: data(net13Jun12.m) exp <- matrix(rpois(5000 * 50, 5), nrow = 5000) rownames(exp) <- head(rownames(net13Jun12.m), 5000) integ <- DoIntegPPI(exp, net13Jun12.m) sr <- CompSRana(integ) ## End(Not run)
Finds common genes between expression data and PPI network, then extracts the maximally connected subnetwork.
DoIntegPPI(exp.m, ppiA.m)DoIntegPPI(exp.m, ppiA.m)
exp.m |
Gene expression matrix (genes x cells). Should be library-size normalized. Raw counts will be log2-transformed automatically. |
ppiA.m |
PPI network adjacency matrix (genes x genes). |
The function:
Identifies genes present in both expression data and PPI network
Extracts the induced subnetwork
Finds the largest connected component
Returns matched expression and adjacency matrices
List with elements:
Expression matrix for genes in the maximal component.
Adjacency matrix of the maximal connected component.
Andrew E Teschendorff, Zaoqu Liu
Teschendorff AE, Enver T. Nat Commun. 2017;8:15599.
## Not run: data(net13Jun12.m) exp <- matrix(rpois(5000 * 100, 5), nrow = 5000) rownames(exp) <- head(rownames(net13Jun12.m), 5000) integ <- DoIntegPPI(exp, net13Jun12.m) ## End(Not run)## Not run: data(net13Jun12.m) exp <- matrix(rpois(5000 * 100, 5), nrow = 5000) rownames(exp) <- head(rownames(net13Jun12.m), 5000) integ <- DoIntegPPI(exp, net13Jun12.m) ## End(Not run)
Protein-protein interaction network adjacency matrix compiled from multiple public databases. Contains 8434 genes.
net13Jun12.mnet13Jun12.m
A symmetric binary matrix (8434 x 8434):
Gene Entrez IDs
1 = interaction, 0 = no interaction
Compiled from public PPI databases (June 2012).
Teschendorff AE, Enver T. Nat Commun. 2017;8:15599.
data(net13Jun12.m) dim(net13Jun12.m) sum(net13Jun12.m) / 2 # Number of interactionsdata(net13Jun12.m) dim(net13Jun12.m) sum(net13Jun12.m) / 2 # Number of interactions