Это руководство, которому я следовал: https://decoupler -py.readthedocs.io/en/latest/notebooks/dorothea.html
Это функция и параметры, которые я использую:
Код: Выделить всё
#curated collection of TFs and their transcriptional targets
net = dc.get_collectri(organism='human', split_complexes=False)
dc.plot_network(
net=net,
n_sources=['PAX5', 'EBF1', 'RFXAP'],
n_targets=15,
node_size=100,
s_cmap='white',
t_cmap='white',
c_pos_w='darkgreen',
c_neg_w='darkred',
figsize=(5, 5)
)

Подробнее здесь: https://stackoverflow.com/questions/783 ... int-arrows