mantispy.pl.pathway_coherence#
- mantispy.pl.pathway_coherence(adata, key='pathway_coherence', top=15, ax=None)#
Coherence per gene set, the significant ones marked.
Sets are ordered by coherence, as in the table. Under a permutation null every coherent set ties at the p-value floor, so the q-value marks significance and coherence ranks the sets.
- Parameters:
- Return type:
- Returns:
The axes drawn on, with one bar per set labeled by how many of its genes were in the screen, colored by whether its q-value is below 0.05.
- Raises:
KeyError –
uns["mantispy"]holds no table underkey.ValueError – That table is empty, which is what happens when no set had enough of its genes in the screen.