def filterCellsByCoex(adata, df):
    """Removes cells from adata if they are contained in df.
    
    Parameters
    ----------
    adata : AnnData object.
        Data to filter
    df : pandas DataFrame
        Dataframe of cells to remove (result of findCellsByGeneCoex)
    """
    cells = adata.obs.index.tolist()
    exCells = df.index.tolist()
    filteredCells = [c for c in cells if c not in exCells]
    return(adata[adata.obs.index.isin(filteredCells)].copy())