Read metadata
and mcols
for a Annotated or Vector object, respectively.
This is typically used inside loading functions for concrete subclasses.
readMetadata(x, metadata.path, mcols.path, ...)
String containing a path to a directory, itself containing an on-disk representation of a base R list to be used as the metadata
.
Alternatively NULL
to skip loading.
String containing a path to a directory, itself containing an on-disk representation of a DataFrame to be used as the mcols
.
Alternatively NULL
to skip loading.
Further arguments to be passed to altReadObject
.
x
is returned, possibly with mcols
and metadata
added to it.
saveMetadata
, which does the staging.