pylimma.top_go

pylimma.top_go(results, ontology=('BP', 'CC', 'MF'), sort=None, number=20, truncate_term=None, p_value=1.0)[source]

Extract the top GO terms from a goana() result.

Port of R limma’s topGO. results must be a DataFrame in the shape returned by goana() (columns term, ontology, n, then one count column per DE list, then one p_* column per DE list).

Return type:

DataFrame