Registration Open for Bioc2024 July 24-26


This is the development version of Moonlight2R; for the stable release version, see Moonlight2R.

Identify oncogenes and tumor suppressor genes from omics data

Bioconductor version: Development (3.20)

The understanding of cancer mechanism requires the identification of genes playing a role in the development of the pathology and the characterization of their role (notably oncogenes and tumor suppressors). We present an updated version of the R/bioconductor package called MoonlightR, namely Moonlight2R, which returns a list of candidate driver genes for specific cancer types on the basis of omics data integration. The Moonlight framework contains a primary layer where gene expression data and information about biological processes are integrated to predict genes called oncogenic mediators, divided into putative tumor suppressors and putative oncogenes. This is done through functional enrichment analyses, gene regulatory networks and upstream regulator analyses to score the importance of well-known biological processes with respect to the studied cancer type. By evaluating the effect of the oncogenic mediators on biological processes or through random forests, the primary layer predicts two putative roles for the oncogenic mediators: i) tumor suppressor genes (TSGs) and ii) oncogenes (OCGs). As gene expression data alone is not enough to explain the deregulation of the genes, a second layer of evidence is needed. We have automated the integration of a secondary mutational layer through new functionalities in Moonlight2R. These functionalities analyze mutations in the cancer cohort and classifies these into driver and passenger mutations using the driver mutation prediction tool, CScape-somatic. Those oncogenic mediators with at least one driver mutation are retained as the driver genes. As a consequence, this methodology does not only identify genes playing a dual role (e.g. TSG in one cancer type and OCG in another) but also helps in elucidating the biological processes underlying their specific roles. In particular, Moonlight2R can be used to discover OCGs and TSGs in the same cancer type. This may for instance help in answering the question whether some genes change role between early stages (I, II) and late stages (III, IV). In the future, this analysis could be useful to determine the causes of different resistances to chemotherapeutic treatments.

Author: Mona Nourbakhsh [aut], Astrid Saksager [aut], Nikola Tom [aut], Xi Steven Chen [aut], Antonio Colaprico [aut], Catharina Olsen [aut], Matteo Tiberti [cre, aut], Elena Papaleo [aut]

Maintainer: Matteo Tiberti <tiberti at>

Citation (from within R, enter citation("Moonlight2R")):


To install this package, start R (version "4.4") and enter:

if (!require("BiocManager", quietly = TRUE))

# The following initializes usage of Bioc devel


For older versions of R, please refer to the appropriate Bioconductor release.


To view documentation for the version of this package installed in your system, start R and enter:

A workflow to study mechanistic indicators for driver gene prediction with Moonlight HTML R Script
Reference Manual PDF


biocViews DNAMethylation, DifferentialExpression, DifferentialMethylation, GeneExpression, GeneRegulation, GeneSetEnrichment, MethylationArray, Network, NetworkEnrichment, Pathways, Software, Survival
Version 1.3.0
In Bioconductor since BioC 3.18 (R-4.3) (0.5 years)
License GPL-3
Depends R (>= 4.3), doParallel, foreach
Imports parmigene, randomForest, gplots, circlize, RColorBrewer, HiveR, clusterProfiler, DOSE, Biobase, grDevices, graphics, GEOquery, stats, purrr, RISmed, grid, utils, ComplexHeatmap, GenomicRanges, dplyr, fuzzyjoin, rtracklayer, magrittr, qpdf, readr, seqminer, stringr, tibble, tidyHeatmap, tidyr, AnnotationHub, easyPubMed,, EpiMix, BiocGenerics, ggplot2, ExperimentHub
System Requirements CScapeSomatic
Bug Reports
See More
Suggests BiocStyle, knitr, rmarkdown, testthat (>= 3.0.0), devtools, roxygen2, png
Linking To
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report Build Report

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package Moonlight2R_1.3.0.tar.gz
Windows Binary
macOS Binary (x86_64) Moonlight2R_1.3.0.tgz
macOS Binary (arm64) Moonlight2R_1.3.0.tgz
Source Repository git clone
Source Repository (Developer Access) git clone
Bioc Package Browser
Package Short Url
Package Downloads Report Download Stats