Пример #1
0
 def test_call_empty_drops(self):
     rdata = os.path.join(base_dir, "tests/example_sce.RData")
     sce_from_rdata = SingleCellExperiment.fromRData(rdata)
     tenx = DropletUtils()
     assay = sce_from_rdata.assays["counts"]
     values = tenx.emptyDrops(assay)
Пример #2
0
 def emptyDrops(counts):
     utils = DropletUtils()
     cells = utils.emptyDrops(counts)
     cells = cells.slots["listData"]
     return dict(zip(cells.names, map(list,list(cells))))