powered by
Read .loom-formatted hdf5 file.
.loom
read_loom( filename, sparse = TRUE, cleanup = FALSE, X_name = "spliced", obs_names = "CellID", obsm_names = NULL, var_names = "Gene", varm_names = NULL, dtype = "float32", ... )
The filename.
Whether to read the data matrix as sparse.
Whether to collapse all obs/var fields that only store one unique value into .uns['loom-.'].
.uns['loom-.']
Loompy key with which the data matrix AnnData.X is initialized.
AnnData.X
Loompy key where the observation/cell names are stored.
Loompy keys which will be constructed into observation matrices
Loompy key where the variable/gene names are stored.
Loompy keys which will be constructed into variable matrices
Numpy data type.
Arguments to loompy.connect
This reads the whole file into memory. Beware that you have to explicitly state when you want to read the file as sparse data.
# NOT RUN { ad <- read_loom("dataset.loom") # }
Run the code above in your browser using DataLab