pyRforest: A comprehensive R package for genomic data analysis featuring scikit-learn Random Forests in R
Tyler KolisnikiD, Faeze Keshavarz-RahaghiiD, Rachel Violet PurcelliD, Adam N. H. SmithiD, Olin SilanderiD
Abstract
Random Forest models are widely used in genomic data analysis and can offer insights into complex biological mechanisms, particularly when features influence the target in interactive, non-linear, or non-additive ways. Currently, some of the most efficient Random Forest methods in terms of computational speed are implemented in Python. However, many biologists use R for genomic data analysis, as R offers a unified platform for performing additional statistical analysis and visualization. Here we present an R package, pyRforest, which integrates Python scikit-learn `RandomForestClassifier` algorithms into the R environment. pyRforest inherits the efficient memory management and parallelization of Python, and is optimized for classification tasks on large genomic datasets, such as those from RNA-seq. pyRforest offers several additional capabilities, including a novel rank-based permutation method for biomarker identification. This method can be used to estimate and visualize p-values for individual features, allowing the researcher to identify a subset of features for which there is robust statistical evidence of an effect. In addition, pyRforest includes methods for the calculation and visualization of SHapley ADditive Explanations (SHAP) values. Finally, pyRforest includes support for comprehensive downstream analysis for gene ontology and pathway enrichment. pyRforest thus improves the implementation and interpretability of Random Forest models for genomic data analysis by merging the strengths of Python with R. pyRforest can be downloaded at: https://www.github.com/tkolisnik/pyRforest with an associated vignette at https://github.com/tkolisnik/pyRforest/blob/main/vignettes/pyRforest-vignette.pdf.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 9
- FWCI
- 1.22
- Field percentile
- top 22%
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Thresholding Gini Variable Importance with a single trained Random Forest: An Empirical Bayes Approach
Robert A. Dunne, Roc Reguant, … Denis C. Bauer·Computational and Structural Biotechnology JournalPeer-reviewed·Jan 1, 2023
- binomialRF: Scalable Feature Selection and Screening for Random Forests to Identify Biomarkers and Their Interactions
Samir Rachid Zaim, Colleen Kenost, … Yves A. Lussier·bioRxiv·Mar 6, 2020
- Detecting epistatic interactions in genomic data using Random Forests
Hawlader Abdullah Al-Mamun, Robert A. Dunne, … KLARA L. VERBYLA·bioRxiv·Apr 26, 2022
- Robust Random Forests for Genomic Prediction: Challenges and Remedies
Vanda Lourenço, Joseph Ochieng Ogutu, Hans‐Peter Piepho·bioRxiv·May 22, 2026
- GFFx: A Rust-based suite of utilities for ultra-fast genomic feature extraction
Baohua Chen, Dongya Wu, Guojie Zhang·GigaSciencePeer-reviewed·Jan 1, 2025
- PICKER-HG: a web server using random forests for classifying human genes into categories
Fábio Fabris, Daniel H. Palmer, … Alex Alves Freitas·bioRxiv·Jun 24, 2019