getAnnotations function

Get annotations from a study