These methods access or set the metadata in a AnyHermesData
object.
(AnyHermesData
)
object to access the metadata from.
(list
)
the list to replace the current metadata with.
The metadata which is a list.
Note that this just inherits S4Vectors::metadata,Annotated-method()
.
a <- hermes_data
metadata(a)
#> list()
metadata(a) <- list(new = "my metadata")
metadata(a)
#> $new
#> [1] "my metadata"
#>