SecAct (Secreted protein Activity inference) is an R package for inferring intercellular signaling activity of over 1,000 secreted proteins from gene expression profiles. It supports spatial transcriptomics, single-cell RNA-seq, and bulk RNA-seq data.
๐ Key Features
- Multi-platform: Works on macOS, Linux, and Windows
- Multi-data: Supports bulk, single-cell, and spatial transcriptomics
- Fast: C/GSL implementation with pure R fallback
- Comprehensive: 1,170 secreted proteins, 7,919 downstream genes
- Statistical: Permutation-based significance testing
๐ฆ Installation
Prerequisites
SecAct uses GSL (GNU Scientific Library) for optimal performance. GSL is optional - a pure R fallback is available.
Install SecAct
# Install from GitHub
devtools::install_github("Zaoqu-Liu/SecAct")
# Windows users (if GSL not available):
devtools::install_github("Zaoqu-Liu/SecAct", configure.args = "--without-gsl")๐ Quick Start
library(SecAct)
# Load example data
data_path <- system.file("extdata/GSE100093.IFNG.expr.gz", package = "SecAct")
expr <- read.table(gzfile(data_path), sep = "\t", header = TRUE, row.names = 1)
# Infer secreted protein activity
result <- SecAct.activity.inference(expr)
# Visualize results
SecAct.heatmap.plot(result$zscore[1:20, ])๐ Tutorials
| Tutorial | Description |
|---|---|
| Quick Start | Get started in 5 minutes |
| Algorithm | Mathematical principles |
| Visualization | Plotting guide |
| Spatial: Patterns | ST signaling patterns |
| Spatial: Communication | ST cell-cell communication |
| Single-cell: CCC | scRNA-seq communication |
| Single-cell: State | Cell state activity |
| Bulk: Change | Treatment vs control |
| Bulk: Cohort | Clinical relevance |
๐ฌ Algorithm Overview
SecAct employs ridge regression with permutation testing:
ฮฒ = (X'X + ฮปI)โปยน X'Y
Where: - Y: Gene expression matrix - X: Secreted protein signature matrix (1,170 proteins) - ฮฒ: Inferred activity matrix - ฮป: Regularization parameter (default: 5ร10โต)
Statistical significance is assessed via permutation testing with z-score transformation.
๐ Workflow
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SecAct Workflow โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Expression Data โโโบ Activity Inference โโโบ Downstream โ
โ (Bulk/SC/Spatial) (Ridge Regression) Analysis โ
โ โ
โ โ โ
โ โผ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โข Cell Communication โ โ
โ โ โข Signaling Patterns โ โ
โ โ โข Survival Analysis โ โ
โ โ โข Velocity Analysis โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Citation
If you use SecAct in your research, please cite:
Beibei Ru, Lanqi Gong, Emily Yang, Seongyong Park, George Zaki, Kenneth Aldape, Lalage Wakefield, Peng Jiang. Inference of secreted protein activities in intercellular communication.
๐ฅ Authors
- Beibei Ru - Original author (beibei.ru@nih.gov)
- Zaoqu Liu - Maintainer (liuzaoqu@163.com)
