Closed nsoranzo closed 5 years ago
Got it. I'm making modifications to LoomExperiment now and will look into the issue.
Cool, thanks!
Apologize that this change took so long. The 1.3.1 version will now preserve the matrix name:
> u <- matrix(rpois(20000, 5), ncol=100)
> v <- log2(u + 1)
> scle <- SingleCellLoomExperiment(assays=list(counts=u, logcounts=v))
> export(scle, 'test.loom')
> imported_scle <- import('test.loom', type='SingleCellLoomExperiment')
> assays(scle)
List of length 2
names(2): counts logcounts
> assays(imported_scle)
List of length 2
names(2): counts logcounts
Fantastic, thanks @dvantwisk !
After re-importing the exported
SingleCellLoomExperiment
object, the first element ofassays
is always namedmatrix
instead of the original name.Thanks for developing
LoomExperiment
!