Skip to contents

Returns an epiRomicsS4 object whose annotations slot holds a synthetic enhanceosome GRanges with the same column structure as the output of find_enhanceosomes (one integer count column per ChIP TF in the meta() table of database, plus a ChIP_Hits total column).

Usage

make_example_enhanceosome(database = NULL)

Arguments

database

An epiRomicsS4 object, or NULL (default). When NULL, make_example_database is called internally.

Value

An epiRomicsS4 object whose annotations slot contains the synthetic enhanceosome GRanges.

Details

The result is built directly from in-memory structures (no ChIPseeker annotation, no TxDb lookup) so the example completes in under one second under R CMD check. It is fit-for-purpose for exercising the enhanceosome-consuming functions (analyze_tf_cobinding, analyze_tf_overlap, etc.) without the cost of the full enhancer-calling pipeline.

Examples

eso <- make_example_enhanceosome()
length(annotations(eso))
#> [1] 3