merquaco.data_loss.DropoutResult.get_dropped_gene_counts
- DropoutResult.get_dropped_gene_counts(fov: str = '', dic: bool = False)
Gets number of dropped genes. If FOV is specified, gets number of dropped genes for specified FOV. If dic=True, creates dictionary of FOVs and dropped gene counts
- Parameters:
fov (str, optional) – FOV for which to get gene counts for. Default is ‘’.
dic (bool, optional) – Whether to create dictionary of FOVs and their dropped gene counts
- Returns:
int – If fov is specified. Number of dropped genes for that FOV
dict – If dic is True. Dictionary of dropped gene counts per FOV
int – If all arguments are default. Number of dropped genes.