gmmd.compute.obtain_base_bv_array
- gmmd.compute.obtain_base_bv_array(sample_num)
Returns the binary array representing all combinations of cells.
- Parameters
sample_num (
int) – Number of HTO samples.- Returns
List containing all combinations, each a
BitVector.BitVectorelement.- Return type
list- Example
>>> obtain_base_bv_array(3) [000, 100, 010, 001, 110, 101, 011, 111]
A
1in the i th position of the element means presence of the i th HTO sample, and0means absence.