使用satijalab开发的loomR读取loom文件,具体详见https://satijalab.org/loomr/loomr_tutorial
library(loomR) #
lfile <- connect(filename = "osmFISH_SScortex_mouse_all_cells.loom", mode = "r+")
lfile
lfile$matrix
full.matrix <- lfile$matrix[, ]
dim(x = full.matrix)
A <-lfile$col.attrs$CellID[]
B <-lfile$col.attrs$ClusterN