Skip to content

Commit

Permalink
adding some new data
Browse files Browse the repository at this point in the history
  • Loading branch information
raquellewei committed Oct 5, 2023
1 parent a0e141c commit adb85c2
Show file tree
Hide file tree
Showing 6 changed files with 3,513 additions and 9 deletions.
2 changes: 1 addition & 1 deletion fununifrac/reproducibility/Kegg_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def visualize_diff(edge_list_inferred, edge_list_actual, outfile_name):
df['inferred_length'] = inferred_df['edge_length']
print(df)
sns.scatterplot(data=df, x='inferred_length', y='actual_length')
#plt.show()
plt.show()
plt.savefig(outfile_name)
return

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
data_dict["Size"].append(d_size)
data_dict["Method"].append('Randomized')
if not os.path.isfile(f"{MY_PATH}/{A_matrix_file}"):
os.system(f'python ../graph_to_path_matrix.py -e {ko_edge_list_no_edge_lengths} -d {ko_dm_file} -o data'
os.system(f'python ../create_edge_matrix.py -e {ko_edge_list_no_edge_lengths} -d {ko_dm_file} -o data'
f' -b ko00001')
start_time = time.time()
os.system(f'python ../create_edge_lengths.py -d {MY_PATH}/{ko_dm_file} -e {MY_PATH}/{ko_edge_list_no_edge_lengths} '
Expand Down
Loading

0 comments on commit adb85c2

Please sign in to comment.