Count contig UMIs by celltype
crosstab_by_celltype(ccdb)
Arguments
- ccdb
A ContigCellDB object
Value
a table, keyed by cell_pk
counting UMIs per celltype
Examples
data(ccdb_ex)
nrow(ccdb_ex$cell_tbl)
#> [1] 832
total_umi = crosstab_by_celltype(ccdb_ex)
nrow(total_umi)
#> [1] 832