networkcommons.utils.read_network_from_file
- networkcommons.utils.read_network_from_file(file_path, source_col='source', target_col='target', directed=True, sep='\t')
Read network from a file.
- Parameters:
- Returns:
The network.
- Return type:
nx.Graph or nx.DiGraph