ucsd-ccbb / NetColoc

development of network co-localization tool
MIT License
13 stars 6 forks source link

update netprop.get_individual_heats_matrix to support a cachedir to load/save matrix #9

Closed coleslaw481 closed 2 years ago

coleslaw481 commented 2 years ago

For easier use the following changes should be made:

Update docs to say netprop.get_normalized_adjacency_matrix() is no longer needed cause the networkx graph can be passed directly to netprop.get_individual_heats_matrix()

Updates to netprop.get_individual_heats_matrix()

coleslaw481 commented 2 years ago

After doing some benchmarking the numpy.load/save was pretty slow and generated giant files (multiple gigabyte) so just decided to go with documentation for the load/save, but did update the function to take a graph and internally call the get noramlized adjacency matrix