metadata {slinky}R Documentation

metadata

Description

The accessor function retrieves metadata from Slinky object.

Usage

metadata(x)

## S4 method for signature 'Slinky'
metadata(x)

Arguments

x

a Slinky object

Value

The accessor function returns a data.frame containing the metadata.

Examples

# for build/demo only.  You MUST use your own key when using the slinky
# package.
user_key <- httr::content(httr::GET('https://api.clue.io/temp_api_key'),
                          as='parsed')$user_key
sl <- Slinky(user_key,
                 system.file('extdata', 'demo.gctx',
                      package='slinky'),
                 system.file('extdata', 'demo_inst_info.txt',
                     package = 'slinky'))
md <- metadata(sl[, 1:10])


[Package slinky version 1.12.0 Index]