ENH: add segmentation option to antsNetworkAnalysis.R