merquaco.data_loss.DropoutResult.get_dropped_fovs

DropoutResult.get_dropped_fovs(gene: str = '', dic: bool = False)

Get a list of dropped FOV names. If gene is specified, returns list of dropped FOVs for that gene. If dic=True, returns dictionary of genes and dropped FOVs.

Parameters:
  • gene (str, optional) – Gene for which to get list of dropped FOVs. Default is ‘’.

  • dic (bool, optional) – Whether to return dictionary of genes and their dropped FOVs. Default is False.

Returns:

  • list – If gene is specified. List of dropped FOVs for that gene

  • dict – If dic is True. Dictionary of dropped FOVs per gene.

  • list – If all arguments are default. List of dropped FOVs.