baryshnikova-lab / safepy

Python implementation of Spatial Analysis of Functional Enrichment (SAFE)
GNU General Public License v3.0
40 stars 24 forks source link

plot_composite_network #3

Open lacpromoter opened 4 years ago

lacpromoter commented 4 years ago

Is there an option to save the composite_network in pdf? Thanks!

abarysh commented 4 years ago

Yep, it's the save_fig argument (added in commit 6dade7384fa93776bcc32ec41bc2818be0d6b8e4). Example:

sf.plot_composite_network(show_each_domain=False, save_fig='./output.pdf')

BTW, we're in the process of producing a more formal documentation for all the functions and arguments, so all of these functionalities should be a bit more transparent.