merquaco.data_loss.DropoutResult.get_dropped_fov_counts
- DropoutResult.get_dropped_fov_counts(gene: str = '', dic: bool = False)
Gets number of unique dropped FOVs. If gene is specified, returns number of dropped FOVs for specified gene. If dic=True, returns dictionary of genes and number of dropped FOVs.
- Parameters:
gene (str, optional) – Gene for which to get number of dropped FOVs. Default is ‘’.
dic (bool, optional) – Whether to return dictionary of genes and number of dropped FOVs.
- Returns:
int – If gene is specified. Number of dropped FOVs for that gene.
dict – If dic is True. Dictionary of number of dropped FOVs per gene.
int – If all arguments are default. Number of unique dropped FOVs.