Skip to content

MoonlightR

Bioc current

Identify oncogenes and tumor suppressor genes from omics data

v1.38.0 · Package record · software · GPL (>= 3)

Release Lineage

Entered 3.4 · Oct 18, 2016

Current · Requires R 4.6

1.0 In 20 of 49 releases 3.23

Description

Motivation: 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). Results: We present an R/bioconductor package called MoonlightR which returns a list of candidate driver genes for specific cancer types on the basis of TCGA expression data. The method first infers gene regulatory networks and then carries out a functional enrichment analysis (FEA) (implementing an upstream regulator analysis, URA) to score the importance of well-known biological processes with respect to the studied cancer type. Eventually, by means of random forests, MoonlightR predicts two specific roles for the candidate driver genes: i) tumor suppressor genes (TSGs) and ii) oncogenes (OCGs). 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, MoonlightR can be used to discover OCGs and TSGs in the same cancer type. This may help in answering the question whether some genes change role between early stages (I, II) and late stages (III, IV) in breast cancer. In the future, this analysis could be useful to determine the causes of different resistances to chemotherapeutic treatments.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

14 14 exported

Complexity

7.4 avg / 32 max

Call network

14 nodes / 6 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

3,155

Files

71

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,512 (47.9%)Docs 853 (27%)Vignettes 790 (25%)

API

Exported functions

14

Internal functions

0

Testing

Has tests

No

Test-to-code ratio

0.00

testthat edition

–

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

3.5

System requirements

–

C++ standard

–

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

20

First release

2016-10-17

Latest release

2026-04-28

Avg cadence

189 days

Cold removal rate

–

Dep drift

0

LOC over versions

v3.4: 3,994 LOCv3.5: 3,080 LOCv3.6: 3,080 LOCv3.7: 3,080 LOCv3.8: 3,995 LOCv3.9: 3,982 LOCv3.10: 3,982 LOCv3.11: 3,982 LOCv3.12: 3,982 LOCv3.13: 3,982 LOCv3.14: 3,982 LOCv3.15: 3,161 LOCv3.16: 3,162 LOCv3.17: 3,153 LOCv3.18: 3,155 LOCv3.19: 3,155 LOCv3.20: 3,155 LOCv3.21: 3,155 LOCv3.22: 3,155 LOCv3.23: 3,155 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 · 121 wordsVignettesYes · 1 · dynamicNEWSYes · 33% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
27includes a package overview page
Examples that run
86%12 run in a plain check · 2 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 1 family in the upstream repository

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

Continuous integration (2)
Travis CI (config file)AppVeyor
How this is detected·Detection ruleset v4 (2026-10-20)

Datasets

Bundled datasets · 12
NameClassSizeAlso in
DEGsmatrixdata.frame3,390 × 52 packages
DiseaseListlist101 elementsNo other package
EAGenesdata.frame20,038 × 53 packages
GDCprojectsvector39 elementsNo other package
GEO_TCGAtabdata.frame18 × 122 packages
dataFiltmatrix13,742 × 20No other package
dataGRNlist2 elementsNo other package
dataURAmatrix100 × 2No other package
geneInfomatrix20,531 × 32 packages
knownDriverGeneslist2 elements2 packages
listMoonlightlist5 elements2 packages
tabGrowBlockdata.frame101 × 32 packages

All of MoonlightR's data objects

Topics

Maintainer
Matteo Tiberti

Available on

CRANr2uBioconductorautoCRANCOPR

People

Cite

Cite this package

Run in R for the authors' entry:

citation("MoonlightR")

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 MoonlightR version 1.38.0 [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