<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 After registration, downsampling, and getting a csv with the coordinates and brightess of the brightest points
Mapping the points to its appropriate region
Step1:  Generating the networkx graph object of the brain
Step2:  Generating the brain graph colored by region
<ASSISTANT_TASK:>
Python Code:
# get_regions(points_path, anno_path, output_path)
# rp = cl.get_regions('../Fear199_points.csv', '../img/Fear199_anno.nii', 'Fear199_regions.csv')
Explanation: After registration, downsampling, and getting a csv with the coordinates and brightess of the brightest points
Mapping the points to its appropriate region
End of explanation
# create_graph(points_path, radius=20, output_filename=None)
g = cl.create_graph('../Fear199_regions.csv', 20, 'test.graphml')
Explanation: Generating the networkx graph object of the brain
End of explanation
figure = generate_region_graph('Fear199', 'Fear199_regions.csv', 'Fear199_region.html')
Explanation: Generating the brain graph colored by region
End of explanation
<END_TASK>