metadata: Metadata Accessor and Setter

metadataR Documentation

Metadata Accessor and Setter

Description

[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)
metadata(a) <- list(new = "my metadata")
metadata(a)

insightsengineering/hermes documentation built on Sept. 19, 2024, 9:06 p.m.