python/methylnet/interpretation_classes.py
def cooccurrence_fn(list1,list2):
    """Cooccurence of elements between two lists.

    Parameters
    ----------
    list1
    list2

    Returns
    -------
    float
        Cooccurence between elements in list.

    """
    return len(set(list1).intersection(set(list2)))
Cooccurence of elements between two lists.

    Parameters
    ----------
    list1
    list2

    Returns
    -------
    float
        Cooccurence between elements in list.

    
Cooccurence of elements between two lists.
Parameters

list1
list2

Returns

float
Cooccurence between elements in list.
Cooccurence of elements between two lists . Parameters list1 list2 Returns float Cooccurence between elements in list .
def cooccurrence_fn(list1,list2):
    return len(set(list1).intersection(set(list2)))
def cooccurrence_fn ( list1 , list2 ) : return len ( set ( list1 ) . intersection ( set ( list2 ) ) )
Cooccurence of elements between two lists.
Cooccurence of elements between two lists .
"""Cooccurence of elements between two lists.

    Parameters
    ----------
    list1
    list2

    Returns
    -------
    float
        Cooccurence between elements in list.

    """
list1
list2