superexacttestpy.tl.exclusive_intersect0

superexacttestpy.tl.exclusive_intersect0(x)

Calculate the number of exclusive intersections for all barcodes :type x: list :param x: List of sets :type x: list

Returns:

A dataframe with each column is a barcode and the row is the number of exclusive intersections for this barcode

Return type:

pd.DataFrame

Example

>>> data = [["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q"],
    ["L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],
    ["H","I","J","K","L","M","N","O","P","Q"]]
>>> exclusive_intersect0(data)
...    |    |   001 |   010 |   011 |   100 |   101 |   110 |   111 |
...    |---:|------:|------:|------:|------:|------:|------:|------:|
...    |  0 |     0 |     9 |     0 |     7 |     4 |     0 |     6 |