Extracting Graph Structure From Data Via Topological Methods With Applications To Neuroscience