Description Usage Arguments Note Author(s) See Also Examples
Write a dataset to HDF5 file.
1 | HDF5WriteData(filename,path,data,options)
|
filename |
HDF5 file name in full path |
path |
the full path of the dataset within the HDF5 file |
data |
data to be written |
startindex | the starting row index (zero based) of the dataset to be overwritten | |
nrows | the number of rows of data to be overwritten | |
forceNewFile | logical value to indicate if an existing file will | |
be erased first before writing | ||
overwrite | logical value to indicate if an existing dataset will get | |
overwritten | ||
compresslevel | integer value (0-9) to indicate data compression level. | |
Higher compression results in longer time. Default(0) | ||
None at this time
Wilson Lau
HDF5Summary HDF5ReadData HDF5ReadAttribute HDF5WriteAttribute
1 2 3 4 5 6 7 8 9 10 11 |
# write the dataset named "dsInt" in a hdf5 file
data <- array(1:10,dim=10)
HDF5WriteData("./Kidneycortex_Female_W10.h5","/dsInt",data)
# write the dataset named "dsInt" within a group "dsGrp"
HDF5WriteData("./Kidneycortex_Female_W10.h5","/dsGrp/dsInt",data)
# write only the 2nd and 3rd row of the dataset named "dsInt" within a group "dsGrp"
data <- array(1:2,dim=2)
HDF5WriteData("./Kidneycortex_Female_W10.h5","/dsGrp/dsInt", data, options=list(startindex=2, nrows=2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.