Skip to contents

[Stable]

These methods access or set the metadata in a AnyHermesData object.

Arguments

x

(AnyHermesData)
object to access the metadata from.

value

(list)
the list to replace the current metadata with.

Value

The metadata which is a list.

Note

Note that this just inherits S4Vectors::metadata,Annotated-method().

Examples

a <- hermes_data
metadata(a)
#> list()
metadata(a) <- list(new = "my metadata")
metadata(a)
#> $new
#> [1] "my metadata"
#>