import-methods | R Documentation |
Imports a LoomExperiment
from a LoomFile
. Note the colGraph
and rowGraph
contained within
the 0-indexed loom file will be converted to the 1-indexed represnetation in the resulting LoomExperiment
object.
## S4 method for signature 'LoomFile,ANY,ANY'
import(con, ...,
type = c("SingleCellLoomExperiment", "LoomExperiment", "RangedLoomExperiment"),
rownames_attr=NULL, colnames_attr=NULL)
con |
A character indicating the loom file to be created. File must have the |
... |
Additional arguments |
type |
Either "SingleCellLoomExperiment", "LoomExperiment", or "RangedLoomExperiment".
This value decides what type of object that will be returned by |
rownames_attr |
A |
colnames_attr |
A |
An object of class LoomExperiment
LoomExperiment
,
LoomFile
,
l1_file <- system.file("extdata", "L1_DRG_20_example.loom", package = "LoomExperiment")
scle <- import(l1_file, type="SingleCellLoomExperiment")
scle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.