Get stored annotation in synapse, it will search based on synapse parentId, the filename, and the annotator (filename prefix). If not exist, build an empty dataframe

get_stored_annotation(
  syn,
  parent_id,
  stored_filename,
  uid,
  keep_metadata,
  survey_colnames
)

Arguments

syn

synapseclient

parent_id

synapse parent Id

stored_filename

filename of the annotation

uid

unique identifier of the files needed to be annotate

keep_metadata

what metadata to keep from the table

survey_colnames

column for the survey

Value

a dataframe containing several columns of the annotation information (survey input, metadata, annotation timestamp)