Open cbravo93 opened 2 years ago
UPDATE: Removing nGene and nUMI from the loom metadata works.
library(SCopeLoomR)
loom <- open_loom('/staging/leuven/stg_00002/lcb/cbravo/Multiomics_pipeline/analysis/SNARE_mouse/data/rna/snare_mouse_cortex_rna.loom', mode='r+')
get_cell_annotation(loom)
remove_col_attr(loom, 'nGene')
remove_col_attr(loom, 'nUMI')
gmd<-get_global_meta_data(loom = loom)
gmd[['metrics']] <- NULL
update_global_meta_data(loom = loom, meta.data.json = rjson::toJSON(x = gmd))
Describe the bug
To Reproduce It is the first time I see this error. Something that may be relevant, this is the first time I run scrublet using loom as input.
Additional context Add any other context about the problem here.