Link.Rd
Represents a link in Synapse.
Links must have a target ID and a parent. When you do synGet on a Link object, the Link object is returned. If the target is desired, specify followLink=TRUE in synGet().
Link(targetId=NULL, targetVersion=NULL, parent=NULL, properties=NULL, annotations=NULL)
The ID of the entity to be linked
The version of the entity to be linked
The parent project or folder
A map of Synapse properties
A map of user defined annotations
An object of type Link
if (FALSE) {
# create a link to 'syn1234567' under some other folder
link <- Link('syn1234567', parent=folder)
link <- synStore(link)
}