superexacttestpy.tl.intersect
- superexacttestpy.tl.intersect(data)
Get intersection on multiple input set
- Parameters:
- data : list
List of list of gene
- Returns:
res – List of gene overlapping in all input vectors
- Return type:
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"]] >>> intersect(data) ... ['L', 'P', 'M', 'Q', 'N', 'O']