Skip to content

Moonlight2R

Bioc current

Identify oncogenes and tumor suppressor genes from omics data

v1.10.1 · Package record · 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.

Advisories

None published for Bioconductor

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

164

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

Has tests

Yes

Test-to-code ratio

0.11

testthat edition

3

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 externalCScapeSomatic

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

In the Bioconductor 3.23 release
READMEYes · 511 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.10.1Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
65 (2 internal)
Examples that run
86%24 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
96%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
8%
Changes in 1.10.1 (Bioconductor 3.23)

Summary

  • Fixes on Moonlight Z-score calculations and removal of fixed 'Exp.Log.Ratio' column from DiseaseList collection

From NEWS.md in the release

Repository practices

Upstream repositoryBeta

Checks run against github.com/elelab/moonlight2r on 2026-10-22.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v4 (2026-10-20)

Datasets

Bundled datasets · 37
NameClassSizeAlso in
DAPsmatrixdata.frame4,873 × 4No other package
DEG_Methylation_Annotationstibble3,435 × 35No other package
DEG_Mutations_Annotationstibble3,561 × 173No other package
DEGsmatrixdata.frame3,390 × 52 packages
DiseaseListlist101 elementsNo other package
EAGenesdata.frame20,038 × 53 packages
EncodePromotersspec_tbl_df84,738 × 6No other package
EpiMix_Results_Regularlist9 elementsNo other package
GEO_TCGAtabdata.frame18 × 122 packages
LOC_proteindata.frame18 × 7No other package
LOC_transcriptiondata.frame18 × 7No other package
LOC_translationdata.frame18 × 7No other package
LUAD_sample_annodata.frame23 × 2No other package
MetEvidenceDriverdata.frame30 × 6No other package
NCGspec_tbl_df3,347 × 7No other package
Oncogenic_mediators_methylation_summarytibble25 × 7No other package
Oncogenic_mediators_mutation_summarytibble12 × 15No other package
cscape_somatic_outputtibble645 × 7No other package
dataDMAlist2 elementsNo other package
dataFEAdata.frame101 × 7No other package
dataFEA_fgseadata.frame101 × 9No other package
dataFiltmatrix3,000 × 20No other package
dataGLStibble13 × 8No other package
dataGMAlist2 elementsNo other package
dataGRNlist2 elementsNo other package
dataGRN_no_noiselist2 elementsNo other package
dataMAFdata.frame500 × 141No other package
dataMAVISplist2 elementsNo other package
dataMethylmatrix73 × 27No other package
dataPRAlist2 elementsNo other package
dataTRRUSTspec_tbl_df5,071 × 4No other package
dataURAmatrix20 × 2No other package
dataURA_plotmatrix12 × 2No other package
dataset_infodata.frame1 × 6No other package
knownDriverGeneslist2 elements2 packages
listMoonlightlist5 elements2 packages
tabGrowBlockdata.frame101 × 32 packages

All of Moonlight2R's data objects

Topics

Maintainer
Matteo Tiberti

Available on

CRANr2uBioconductorautoCRANCOPR

People

Cite

Cite this package

Run in R for the authors' entry:

citation("Moonlight2R")

The package provides a citation file, so citation() returns the authors' own entry.

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-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-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