1 #ifndef H_SoloFilteredCells
2 #define H_SoloFilteredCells
3 
4 class SoloFilteredCells {
5 public:
6     array<uint64,13> C;
7 
8     uint64 &nCells              =C[0];
9     uint64 &nReadInCells        =C[1];
10     uint64 &medianReadPerCellUnique   =C[2];
11     uint64 &meanReadPerCellUnique     =C[3];
12     uint64 &nUMIinCells         =C[4];
13     uint64 &medianUMIperCell    =C[5];
14     uint64 &meanUMIperCell      =C[6];
15     uint64 &nGeneInCells        =C[7];
16     uint64 &medianGenePerCell   =C[8];
17     uint64 &meanGenePerCell     =C[9];
18     uint64 &nGeneDetected       =C[10];
19     uint64 &nCellsSimple        =C[11];
20     uint64 &nReadInCellsUnique  =C[12];
21 
22     vector<uint32> nReadPerCellUnique, nGenePerCell;
23     vector<bool> filtVecBool;
24 
reset(uint64 nCells)25     void reset(uint64 nCells) {
26         C={0};
27         nReadPerCellUnique.clear(); nReadPerCellUnique.reserve(16384);
28         nGenePerCell.clear(); nGenePerCell.reserve(16384);
29         filtVecBool.clear();  filtVecBool.resize(nCells, false);
30     };
31 };
32 
33 #endif
34