Description Usage Arguments Value Examples
The servers require data to be fetched in slices, i.e., in sets of for which the indices of each dimension are of the form start:stop:step. More complex sets of indices will be split into slices and fetched in multiple requests. This is opaque to the user, but may enter into considerations of data access patterns, e.g., for performance-tuning.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | getData(dataset, indices, transfermode)
## S4 method for signature 'HSDSDataset,character,character'
getData(dataset, indices,
transfermode)
## S4 method for signature 'HSDSDataset,character,missing'
getData(dataset, indices)
## S4 method for signature 'HSDSDataset,list,character'
getData(dataset, indices,
transfermode)
## S4 method for signature 'HSDSDataset,list,missing'
getData(dataset, indices)
|
dataset |
An object of type HSDSDataset, the dataset to access. |
indices |
The indices of the data to fetch |
transfermode |
Either (default) 'JSON' or 'binary' |
an Array containing the data fetched from the server
1 2 3 4 5 6 | s <- HSDSSource('http://hsdshdflab.hdfgroup.org')
f <- HSDSFile(s, '/shared/bioconductor/tenx_full.h5')
d <- HSDSDataset(f, '/newassay001')
x <- getData(d, c('1:4', '1:27998'), transfermode='JSON')
# x <- getData(d, c(1:4, 1:27998), transfermode='JSON') # method missing?
x <- d[1:4,1:27998]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.