getManifest {HCAExplorer} | R Documentation |
Obtain metadata infromation from an HCAExplorer object. This metadata can then be passed on to download files from other services.
## S4 method for signature 'HCAExplorer' getManifest(x, fileFormat)
x |
An HCAExplorer object |
fileFormat |
character. A character vector of file formats of metadata to obtain. The possible aruments can be found using the getManifestFileFormats method. |
a tibble of metadata information.
HCAExplorer
for the HCAExplorer class,
getManifestFileFormats
for how to obtain file formats that can
be used as arguments in this function.
## Initiate an HCAExplorer object. x <- HCAExplorer() ## View the HCAExplorer object to decide which projects to subset. x ## Decide to subset first project. x <- x[1,] x ## Get all possible manifest file formats for the project. formats <- getManifestFileFormats(x) formats ## Obtain the manifest for the file using only the first format manifest <- getManifest(x, formats[1]) manifest