pycrosstalker.plots.plot_bar_rankings

pycrosstalker.plots.plot_bar_rankings(annData, table_name, ranking, type=None, filter_sign=None, mode='cci', top_num=10)

This function generates the barplot for a given network ranking on the CGI level. Further, the genes can be filtered by selected gene types to filter the plot.

Parameters

annData :

AnnData object with all data

table_name :

name of the ranking table

ranking :

name of the network ranking to use

type :

gene type (L,R,TF, LR/RL, RTF/TFR, LTF/TFL)

filter_sign :

show all (NULL), only positive (pos), or only negativ (neg) results

Returns

Python default plot