Module bustools_cli::count
source · Expand description
Recreating bustools count to aggregate a busfile into a count-matrix
This turns a busfolder into a count matrix.
The strategy:
- iterate over CBs, turn each cell (Busrecords from same cell) into an [ExpressionVector] (HashMap<Genename, u32>). Those all have slightly different key/genenes sets
- Determine ALL genes: from the EC2Gene file
- turn into a big sparse crate::countmatrix::CountMatrix via
expression_vectors_to_matrix()
Functions§
- busfile to count matrix, analogous to “bustools count”