Skip to content

Moonlight2R

Bioc current

Identify oncogenes and tumor suppressor genes from omics data

v1.10.1 · software · GPL-3

Release Lineage

Entered 3.18 · Oct 25, 2023

Current · Requires R 4.6

1.0 In 6 of 49 releases 3.23

Description

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. An additional mechanistic layer evaluates if there are mutations affecting the protein stability of the transcription factors (TFs) of the TSGs and OCGs, as that may have an effect on the expression of the genes.

Test coverage

Line coverage

Expression

Tests / Examples

Functions

31 28 exported

Complexity

8.3 avg / 36 max

Call network

31 nodes / 15 edges

Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

8,691

Files

166

Compiled share

0%

Has compiled src

No

Language breakdown

R 4,699 (54.1%)Tests 531 (6.1%)Docs 2,181 (25.1%)Vignettes 1,280 (14.7%)

API

Exported functions

28

Internal functions

3

Recent export changes

v3.21+2 TFinfluence, loadMAVISp
v3.19+4 GMA, plotGMA, plotMetExp +1 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.11

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.5

System requirements

1

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2023-10-24

Latest release

2026-06-30

Avg cadence

189 days

Cold removal rate

Dep drift

8

LOC over versions

v3.18: 5,885 LOCv3.19: 7,707 LOCv3.20: 7,707 LOCv3.21: 8,449 LOCv3.22: 8,449 LOCv3.23: 8,691 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.

Documentation

Documentation
READMEYes · 511 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
86%
Documented parameters
100%
Return-value docs
100%
References docs
8%

Topics

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("Moonlight2R")
Tiberti, M., Campo, A., Chen, X. S., Colaprico, A., Meldgård, K., Melidi, A., Nourbakhsh, M., Olsen, C., Papaleo, E., Saksager, A., & Tom, N. (2026). Moonlight2R: Identify oncogenes and tumor suppressor genes from omics data (Version 1.10.1) [Computer software]. https://bioconductor.org/packages/Moonlight2R

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for Moonlight2R version 1.10.1 [Data set]. HJJB, LLC. Data release v2026-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy