TENxMatrixSeed is a low-level helper class for representing a pointer
to an HDF5-based sparse matrix like one used by 10x Genomics for the
1.3 Million Brain Cell Dataset.
TENxMatrixSeed objects are not intended to be used directly. Most
end users should create and manipulate TENxMatrix objects
?TENxMatrix for more information.
No operation can be performed directly on a TENxMatrixSeed object. It first needs to be wrapped in a DelayedMatrix object. The result of this wrapping is a TENxMatrix object (a TENxMatrix object is just a TENxMatrixSeed object wrapped in a DelayedMatrix object).
TENxMatrixSeed() returns a TENxMatrixSeed object.
?TENxMatrix for the value returned by
The rhdf5 package on top of which TENxMatrixSeed objects are implemented.
TENxBrainData dataset (in the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
## The 1.3 Million Brain Cell Dataset from 10x Genomics is available ## via ExperimentHub: library(ExperimentHub) hub <- ExperimentHub() query(hub, "TENxBrainData") fname <- hub[["EH1039"]] ## The structure of this HDF5 file can be seen using the h5ls() command ## from the rhdf5 package: library(rhdf5) h5ls(fname) ## The 1.3 Million Brain Cell Dataset is represented by the "mm10" ## group. We point the TENxMatrixSeed() constructor to this group ## to create a TENxMatrixSeed object representing the dataset: seed <- TENxMatrixSeed(fname, "mm10") seed path(seed) dim(seed) sparsity(seed)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.