MetaRank Usage Instructions
MetaRank is a Shiny-based application designed for non-parametric meta-analysis of ranked gene lists. It allows users to combine multiple pre-ranked gene lists into a single consensus ranked list using robust statistical methods (RankProd and RobustRankAggreg). In addition, MetaRank allows functional interpretation by performing Overrepresentation Analysis (ORA) on the ranked genes of the consensus list.
This comprehensive tutorial provides step-by-step instructions on how to load ranked lists, customise ranking parameters, and visualise or interpret biologically enriched terms from the resulting consensus ranking.
- Overview
- Meta-analysis Options (
RankProdandRobustRankAggreg)- Rank Product (
RankProd) - Robust Rank Aggregation (
RRA) - Summary table
- Rank Product (
- RankProd Workflow
- Inputs
- Parameters
- Outputs
- RobustRankAggreg Workflow
- Inputs
- Parameters
- Outputs
- Shared Elements
- Shared Plots
- Shared Downloads
- Shared Enrichment Analysis
- Data Visualization Tab
- Background Pipeline
- Best Practices
- Troubleshooting
1 Overview
MetaRank is a user-friendly Shiny application designed to unify ranked gene lists from multiple studies and extract a consensus ranking of the most consistently relevant genes. It provides two distinct analytical workflows, Rank Product (RP) and Robust Rank Aggregation (RRA), allowing users to choose the method that best fits their data structure and research goals. The app includes a rich set of features for data input, configuration, enrichment, and visualization. Its key features include:
Choice of meta-analysis algorithm:
Rank Product (RP):A weighted approach that incorporates both gene rankings and associated scores as pvalues or fold changes.Robust Rank Aggregation (RRA):A non-weighted method based on rank positions only, suitable for plain ordered gene lists.
Flexible input options and parameter settings tailored to each method:
- RP mode:
- Supports both file upload and text paste (using
"###"to separate lists). - Accepts
.txt,.csv, and.tsvfiles containing genes with numerical values. - Includes example datasets for quick testing and file downloads.
- Offers a choice between basic and advanced Rank Product functions.
- Customizable settings for handling
NAvalues and filtering genes by minimum list appearance.
- Supports both file upload and text paste (using
- RRA mode:
- Accepts plain-text files or pasted input with one gene per line (using
"###"to separate lists). - Only
.txtformat is supported to avoid structure conflicts. - Provides example data and downloadable templates.
- Includes several aggregation options such as “RRA”, geometric mean, median or minimum rank.
- Also allows configuration of
NAhandling and list inclusion thresholds.
- Accepts plain-text files or pasted input with one gene per line (using
- RP mode:
Post-ranking functional enrichment:
- Enables Over-Representation Analysis (ORA) on the top-ranked genes.
- Compatible with the Gene Ontology (GO), KEGG, and Reactome databases, as well as the possibility of using custom annotations.
- Supports multiple organisms: Homo sapiens, Mus musculus, and Rattus norvegicus.
- Accepts gene identifiers in
SYMBOL,ENTREZID, andENSEMBLformats.
Interactive visualization and result export:
- Explore input overlap with Heatmaps and UpSet plots, and view enriched terms using interactive Bar plots and Dot plots.
- Customize each graph in the
Data Visualisationtab, with options to export plots in publication-ready vector formats (.pdf,.svg) or high-resolution raster images (600 DPI.png/.jpg). - All result tables are interactive and downloadable in
.csvor.tsvformats. - Ensure reproducibility by downloading your analysis settings as a
.jsonparameters file, which can be uploaded via the Load parameters button to instantly restore your session. - Generate acustomizable
.htmlreport that compiles your selected tables, interactive plots, and configuration parameters into a single, easily shareable document.
Figure 1: MetaRank Overview. Initial interface displayed upon accessing the tool.
2 Meta-analysis Options
MetaRank provides two robust statistical methods for integrating ranked gene lists from multiple studies: Rank Product (RankProd) and Robust Rank Aggregation (RRA). These methods are designed to identify genes that consistently appear at the top of ranked lists, thereby highlighting potential candidates for further biological investigation.
2.1 Rank Product (RankProd)
The Rank Product method is a non-parametric statistical approach for identifying differentially expressed genes based on the consistency of gene rankings across multiple datasets. It is particularly suitable for meta-analyses that combine results from different studies, as it does not rely on data normality and is relatively robust to outliers.
Key features:
- Non-parametric analysis: Does not assume any particular data distribution, allowing application to heterogeneous datasets.
- Geometric mean aggregation: Ranks are combined using the geometric mean, giving greater weight to genes consistently ranked at the top.
- False discovery rate estimation: Provides an estimate of the proportion of false positives (pfp) to evaluate the statistical significance of the results.
- Cross-platform applicability: Designed to integrate data from diverse experimental conditions or technologies.
Recommended use cases:
- Works best with complete and balanced gene lists, where most genes are consistently represented across all datasets.
- Suitable when datasets have similar quality and measurement platforms, minimizing unwanted variability.
- Performs optimally with a moderate number of lists (approximately 5 to 20), ensuring a balance between sensitivity and computational cost.
- Less effective in the presence of high proportions of missing values or when gene representation is inconsistent, although these limitations can be mitigated using filtering based on minimum gene appearance and applying penalization strategies.
- Execution time is relatively high, especially when using permutation-based significance testing on large datasets.
- May be moderately influenced by outliers, particularly in smaller datasets with high variability.
The Rank Product method is implemented in the Bioconductor package RankProd, which provides functions for performing the analysis and visualizing the results.
2.2 Robust Rank Aggregation (RobustRrankAggreg)
Robust Rank Aggregation (RRA) is a probabilistic method designed to identify genes that are consistently ranked higher than expected by chance across multiple input lists. It is particularly effective in scenarios involving noisy data, incomplete lists, or substantial variability among datasets.
Key features:
- Probabilistic modeling: Computes p-values by modeling the probability of observing gene rankings under a null model.
- Robustness to noise and variability: Maintains performance in the presence of random noise, outliers, or inconsistencies between lists.
- Adaptable to varying list lengths: Can accommodate lists of different sizes without requiring imputation or alignment.
- No parameter tuning required: Offers a straightforward implementation without the need for user-defined parameters.
Recommended use cases:
- Appropriate for heterogeneous datasets obtained from different experimental conditions, platforms, or studies.
- Particularly suitable when gene lists are incomplete or vary significantly in content and length.
- Scales efficiently with a large number of input lists (more than 20), taking advantage of increased data diversity to improve robustness.
- Demonstrates high resistance to noise, performing reliably even if some input lists contain irrelevant or partially random data.
- Does not consider the magnitude of expression differences, focusing solely on rank order.
- Assumes independence among ranked lists, which may not always be valid in certain experimental designs.
- The interpretation of significance scores may be less intuitive due to the probabilistic nature of the method.
The RRA method is implemented in the CRAN package RobustRankAggreg, which offers functions for list aggregation and significance estimation.
2.3 Summary table
| Feature | Rank Product | Robust Rank Aggregation |
|---|---|---|
| Data completeness | Requires complete gene presence across lists | Supports partial and incomplete lists |
| List consistency | Performs best with uniform list lengths | Handles varying list lengths and contents |
| Handling of missing data | Limited unless filtered or penalized | Naturally tolerant to missing genes |
| Number of input lists | Optimal with 5–20 lists | Scales well with more than 20 lists |
| Noise resistance | Moderate | High |
| Execution time | Higher due to permutation testing | Lower, computationally efficient |
| Quantitative interpretation | Considers expression magnitude indirectly | Considers only rank order |
| Recommended applications | Datasets with consistent platforms and full coverage | Integration of diverse and incomplete datasets |
Table 1: Comparison of Meta-Analysis Methods. Overview of the key characteristics, operational differences, and input requirements between RankProd (RP) and Robust Rank Aggregation (RRA).
3 RankProd Workflow
3.1 Input Methods
MetaRank allows users to input ranked gene lists for Rank Product analysis in three flexible ways:
Upload Files:
When the “Upload Files” mode is selected, users can upload one or more files in.txt,.tsv, or.csvformat. Each file represents a ranked gene list from a separate study. The system expects each file to contain at least two columns: a gene identifier (e.g.,TP53) and a numeric score representing the expression level, or any other ranking criterion. It is recommended to follow this instructions:- Supported encodings:
UTF-8. - Supported delimiters: comma (
,) or tab (\t) (automatically detected). - Do not include headers: remove the corresponding headers for either column names or row names.
- Scores are mandatory: if no score are detected, an error will be displayed
- Complex gene entries (e.g.,
HBA2///HBA1) are parsed, and only the first gene is retained. (HBA2) - NA values, blank lines, and duplicate genes are cleaned automatically.
Clicking the ℹ️ icon opens a modal window showing the expected file structure and format. It is important to note that the application enforces a maximum file size limit of 30 MB per file. Beyond this specific constraint, there is no strict limit to the number of gene lists that can be uploaded, as this depends on the memory usage of each list. For example, when lists contain approximately 20,000 genes, up to 12 have been successfully processed. In contrast, for smaller lists (ranging from 100 to 500 genes), the system has handled up to 50 lists without issue.
- Supported encodings:
Many interface elements include contextual tooltips activated by hovering. These tooltips explain each input option, accepted formats, and internal validation steps. For example, hovering over the Use Example Data toggle reveals the origin of these datasets, while hovering over the text input area shows how to format pasted genes properly.
Paste Genes:
When the “Paste Genes” mode is enabled, users can manually paste ranked gene lists into a large text area. This mode supports both.csvand.tsvformatting, selectable from a dropdown. Each list must be separated by the string###, and within each block, one gene per line is expected. The score must follow the gene, separated by a tab or comma:Example format (tsv) Technical format (tsv) TP53 0.95 TP53\t0.95\n BRCA1 0.91 BRCA1\t0.91\n EGFR 0.85 EGFR\t0.85\n ### ### BRCA1 0.95 BRCA1\t0.95\n EGFR 0.91 EGFR\t0.91\n TP53 0.85 TP53\t0.85 Example format (csv) Technical format (csv) MYC,0.93 MYC,0.93\n CDK2,0.88 CDK2,0.88\n FOXO1,0.80 FOXO1,0.80n ### ### CDK2,0.93 CDK2,0.93\n FOXO1,0.88 FOXO1,0.88\n MYC,0.80 MYC,0.80Similar to file upload, pasted inputs are automatically cleaned of duplicates and malformed entries. The placeholder text in the input box provides a working example for guidance.
Figure 2: Data Input Interface for Rank Product (RP). (a) Configuration panel for selecting input methods, including file upload and text pasting. (b) Informational modal displaying the required file structure, column specifications, and formatting constraints.
Use Example Data:
Enabling the “Use Example Data” switch loads four datasets for demonstration purposes. These examples simulate real analysis scenarios with pre-ranked gene lists across multiple studies, allowing users to explore the workflow without providing their own data.The table above shows four gene lists used in our example analysis. These lists come from four independent studies related to lung cancer and associated with the following identifiers: GSE10072, GSE19188, GSE63459, GSE75037. Each two columns corresponds to a list, containing 22283, 54675, 24526 and 48803 gene identifiers (SYMBOL) respectively, including duplicate or missing entries. Each gene has its associated statistical value in the second column (in this case, pvalue). This arrangement allows direct comparison of the size and composition of the lists across studies, highlighting the diverse scope of each dataset prior to subsequent meta-analysis. If the user wishes to study this data in depth, it is possible to download these datasets, as well as view their distribution in the UpsetPlot (Section 5.1.1.) and Heatmap (Section 5.1.2.).