SCELoom | R Documentation |
Data Format Conversion between SingleCellExperiment and loom.
SCELoom(
from = c("SingleCellExperiment", "loom"),
to = c("loom", "SingleCellExperiment"),
sce = NULL,
loom.file = NULL,
...
)
from |
The source data format to convert, chosen from SingleCellExperiment and AnnData. Default: SingleCellExperiment. |
to |
The target data format to convert, chosen from AnnData and SingleCellExperiment. Default: loom. |
sce |
The SingleCellExperiment object to convert. Default: NULL. |
loom.file |
File used to save or contains loom results. Default: NULL. |
... |
Parameters for |
NULL or SingleCellExperiment.
## Not run:
# convert from loom to SingleCellExperiment, need users to provide the loom file
sce.obj <- SCELoom(
from = "loom", to = "SingleCellExperiment",
loom.file = "path/to/loom"
)
# convert from SingleCellExperiment to loom, need users to provide the loom file
SCELoom(
from = "SingleCellExperiment", to = "loom", sce = sce.obj,
loom.file = "path/to/loom"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.