data_mdpost {recountmethylation} | R Documentation

## Retrieve all available sample metadata from an HDF5 database.

### Description

Retrieve all available sample metadata in a dataset from an HDF5 database. Returns data in metadata dataset "dsn" contained in an h5 file located at path "dbn."

### Usage

    data_mdpost(dbn = "remethdb2.h5", dsn = "mdpost")

### Arguments

`dbn` | Path to h5 HDF5 database file.
`dsn` | Name or group path to HDF5 dataset containing the sample metadata and learned annotations.

### Value

data.frame of available sample metadata.

### See Also

hread()

### Examples

    path <- system.file("extdata", "h5test", package = "recountmethylation")
    fn <- list.files(path)
    dbpath <- file.path(path, fn)
    mdp <- data_mdpost(dbn = dbpath, dsn = "mdpost")
    dim(mdp) # [1]  2 19

[Package recountmethylation version 1.0.0 Index]