Repository navigation
rsemflow 0.1.0
First release. rsemflow turns RSEM *.genes.results files and an ordinary sample metadata table into standard bulk RNA-seq results, written as TSV tables, from the command line or from R. Human and mouse data are supported.
Documentation: https://daikikumakura.github.io/rsemflow/ (Get started · Installation · Tutorial · Designs)
Analyses
data import: RSEM import through tximport. Stops when required columns are missing, when files andsample_iddo not match one-to-one, or when gene tables differ between files.sample_idis always read as text.data summarize: sample- and gene-level expression summaries (not alignment QC).expression normalize/pca/correlation: DESeq2 VST, size-factor normalized counts orlog2(TPM + 1); PCA scores, loadings and explained variance; sample correlation.differential deseq2: DESeq2 with an explicit formula, term and reference levels. Two-group, batch-adjusted, paired, multi-group, numeric, interaction, simple-effect (--p-at) and likelihood-ratio (omnibus) analyses. Coefficients are resolved from the design matrix; missing model values and rank-deficient (confounded) designs stop the run. Each run records the design matrix, a contrast manifest and the analysis settings.enrichment gsea/gsva: preranked GSEA (fgseaMultilevel, fixed seed) and GSVA/ssGSEA scores with MSigDB collections via msigdbr (human and mouse aliases) or custom GMT files.annotation gtf/ensembl: gene annotation from the reference GTF or OrgDb, keeping the original RSEMgene_id.
Validation
- 152 testthat tests, including simple effects from interaction models checked against the reparameterized model, LRT, zero effective lengths, GSEA reproducibility and an end-to-end CLI run.
- R CMD check passes with no warnings or notes on Linux, macOS and Windows in CI (October 5, 2026).
- The tutorial runs every command on the bundled example each time the documentation is built.
Installation
install.packages("BiocManager")
BiocManager::install("DaikiKumakura/rsemflow")or, with the rsemflow command-line launcher (Linux, macOS, WSL):
git clone https://github.com/DaikiKumakura/rsemflow.git
cd rsemflow
bash install_local.shThe attached rsemflow_0.1.0.tar.gz is the source package from R CMD build (includes the built vignettes). Install it with R CMD INSTALL rsemflow_0.1.0.tar.gz after the dependencies are installed.
Scope and limitations
- No figures, reports, automatic sample removal or design selection.
- Log fold changes are not shrunk; GSVA scores are not tested between groups.
- Replicate adequacy is not assessed.
- Not on CRAN or Bioconductor.