Stores a record of the code and data used to derive a Synapse entity.

synSetProvenance(entity, activity)

Arguments

entity

An Entity or Synapse ID to modify

activity

an Activity

Details

Value

An updated Activity object

References

Note

See also

Examples

# NOT RUN {
act <- Activity(name='clustering', description='whizzy clustering')
act$used(c('syn12345', 'syn12346'))
file<-synGet("syn1234567")
synSetProvenance(file, act)
# }