Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 646 Bytes

README_to_graphML_not_yet_uploaded.md

File metadata and controls

15 lines (10 loc) · 646 Bytes

CSV-to-GraphML-BiGraphs

Simple script to process a csv file to return a graphML file for bimodal / bipartitie graphs.

This version used to prepare TMT document-topic matrix output from the Stanford TMT (http://nlp.stanford.edu/software/tmt/tmt-0.4/) to which additional document-related fields were added (from WOS S/SCI records and content analysis) in order to open in Gephi.

If using Gephi, it's helpful to specify ".graphML" suffix on the outfile name and that a graphML file is being opened when using Gephi - otherwise, double check what was imported.

Calling/Usage:

python csv_to_graphML.py infile outfile