crosstab_by_celltype {CellaRepertorium} | R Documentation |
Count contig UMIs by celltype
crosstab_by_celltype(ccdb)
ccdb |
A ContigCellDB object |
a table, keyed by cell_pk
counting UMIs per celltype
data(ccdb_ex) nrow(ccdb_ex$cell_tbl) total_umi = crosstab_by_celltype(ccdb_ex) nrow(total_umi)