twilight
Bioc currentEstimation of local false discovery rate
Release Lineage
Entered 1.5 · Oct 25, 2004
Current · Requires R 4.6
Description
In a typical microarray setting with gene expression data observed under two conditions, the local false discovery rate describes the probability that a gene is not differentially expressed between the two conditions given its corrresponding observed score or p-value level. The resulting curve of p-values versus local false discovery rate offers an insight into the twilight zone between clear differential and clear non-differential gene expression. Package 'twilight' contains two main functions: Function twilight.pval performs a two-condition test on differences in means for a given input matrix or expression set and computes permutation based p-values. Function twilight performs a stochastic downhill search to estimate local false discovery rates and effect size distributions. The package further provides means to filter for permutations that describe the null distribution correctly. Using filtered permutations, the influence of hidden confounders could be diminished.
None published for Bioconductor
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
33 11 exported
Complexity
20.4 avg / 47 max
Call network
33 nodes / 26 edges
Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
Code
Structure
Lines of code
4,466
Files
42
Compiled share
31.8%
Has compiled src
Yes
Language breakdown
API
Exported functions
11
Internal functions
1
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
2.10
System requirements
–
C++ standard
–
License
GPL (>= 2)
License flags
SPDX valid, OSI approved
History
Versions
44
First release
2004-11-03
Latest release
2026-04-28
Avg cadence
182 days
Cold removal rate
–
Dep drift
3
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.
Documentation
- Help pages
- 13 (2 internal)
- Examples that run
- 86%6 run in a plain check · 1 never run
- Exported functions with examples
- 64%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 100%
Repository practices
Checks read the Bioconductor git repository (git.bioconductor.org), branch RELEASE_3_23.
No development-tooling practices detected in the Bioconductor git repository.
Datasets
Topics
Depended on by (1)
Bioconductor (1)
People
- Stefanie Senger maintainer author
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("twilight")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.