hread | R Documentation |
Connect to an HDF5 database h5 file with rhdf5::h5read(). Returns the subsetted data.
hread(ri, ci, dsn = "redsignal", dbn = "remethdb2.h5")
ri |
Row indices in dataset. |
ci |
Column indices in dataset. |
dsn |
Name of dataset or group of dataset to connect with. |
dbn |
Path to h5 database file. |
HDF5 database connection object.
# Get tests data pointer path <- system.file("extdata", "h5test", package = "recountmethylation") fn <- list.files(path) dbpath <- file.path(path, fn) # red signal, first 2 assay addr, 3 samples reds <- hread(1:2, 1:3, d = "redsignal", dbn = dbpath) dim(reds) # [1] 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.