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, ...)

Arguments

x

An Vector or Annotated object.

metadata.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.

mcols.path

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.

Value

x is returned, possibly with mcols and metadata added to it.

See also

saveMetadata, which does the staging.

Author

Aaron Lun