Network Analysis, Mass Spectrometry, Python, Open Science.
high enough similarity score exists) and max_links connections will be added. import networkx as nx import matchmsextras.networking as net from matchms.networking import SimilarityNetwork ms_network = SimilarityNetwork(identifier_key="spectrum_id", score_cutoff=0.7, max_links=10)