getManifest: Obtain metadata information from an HCAExplorer object

Description Usage Arguments Value See Also Examples

Description

Obtain metadata infromation from an HCAExplorer object. This metadata can then be passed on to download files from other services.

Usage

1
2
## S4 method for signature 'HCAExplorer'
getManifest(x, fileFormat)

Arguments

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.

Value

a tibble of metadata information.

See Also

HCAExplorer for the HCAExplorer class, getManifestFileFormats for how to obtain file formats that can be used as arguments in this function.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 ## 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

Bioconductor/HCAExplorer documentation built on Feb. 13, 2021, 7:07 a.m.