enrichit provides C++ implementations of functional
enrichment analysis methods and S4 result classes used by the
clusterProfiler family. It supports ORA, GSEA, weighted
enrichment, network-based enrichment, multilayer network workflows, and
multi-omics aggregation and contribution analysis.
You can install the development version of enrichit from
GitHub using devtools:
# install.packages("devtools")
devtools::install_github("YuLab-SMU/enrichit")enrichit organizes its functions around four
components:
nsea() and multi-layer mnsea() workflows based
on Random Walk with Restart.enrichplot.C++ via Rcpp, with sparse network propagation
using RcppEigen.ora_gson() and
gsea_gson() interfaces for structured gene set
collections.nsea() and
nsea_gson() for network-ranked enrichment on a single
graph, including mode = "signed" for bidirectional
propagation.mnsea()
and mnsea_gson() for multiplex or heterogeneous network
propagation across multiple layers.aggregate_omics(), harmonize_ids(), and
select_features_for_ora() for feature-level integration
before enrichment.aggregate_enrichment() for pathway-level aggregation of
multiple enrichment results.get_omics_contribution(),
classify_omics_pattern(), and
get_mnsea_contribution() for contribution summaries.extract_mnsea_subnetwork() for pathway-specific node/edge
tables that can be passed to downstream visualization packages.bayes_enrich() and bayes_summary() for
posterior-based term prioritization.ora(), ora_gson()gsea(), gsea_gson()gseaScores()ora(..., weight = )ora_gson(..., weight = )gsea(..., weight = )gsea_gson(..., weight = )prepare_network()nsea(), nsea_gson()prepare_multilayer_network()propagate_multilayer()collapse_multilayer_scores()mnsea(), mnsea_gson()aggregate_omics()harmonize_ids()select_features_for_ora()aggregate_enrichment()get_omics_contribution()classify_omics_pattern()get_mnsea_contribution()extract_mnsea_subnetwork()The package returns the following S4 result classes:
enrichResult for ORA-like workflowsgseaResult for ranked enrichment workflowsnseaResult for single-network propagation plus
enrichmentmnseaResult for multi-layer propagation, collapsed
scores, and cached explanation tablesThese classes are used across the clusterProfiler
family:
enrichit handles core computation, algorithm
implementation, and contribution data preparationclusterProfiler provides high-level biological
interpretation workflows and general enrichment analysis interfacesenrichplot handles visualizationgson provides a structured gene set resource layer for
managing and exchanging gene set collections across the familyDOSE, ReactomePA, meshes, and
MicrobiomeProfiler provide domain-specific annotation and
interpretation layers