Skip to contents

Returns the data.frame stored in the meta slot, listing the name and type of every data source loaded into the database. Public accessor replacement for obj@meta or methods::slot(obj, "meta").

Usage

meta(x, ...)

# S4 method for class 'epiRomicsS4'
meta(x, ...)

Arguments

x

An epiRomicsS4 object.

...

Currently unused; reserved for method extension.

Value

A data.frame with one row per data source. Empty (zero rows) if no metadata has been assigned.

See also

meta<-, epiRomicsS4

Examples

db <- make_example_database()
meta(db)
#>       name       type
#> 1  h3k4me1    histone
#> 2  h3k27ac    histone
#> 3 h3k27me3    histone
#> 4  h3k4me3    histone
#> 5 h3k36me3    histone
#> 6      TF1       chip
#> 7      TF2       chip
#> 8   fantom functional
nrow(meta(db))
#> [1] 8