synSetProvenance | R Documentation |
Stores a record of the code and data used to derive a Synapse entity.
synSetProvenance(entity, activity)
entity |
An Entity or Synapse ID to modify |
activity |
an Activity |
An updated Activity object
Activity
## Not run:
act <- Activity(name='clustering', description='whizzy clustering')
act$used(c('syn12345', 'syn12346'))
file<-synGet("syn1234567")
synSetProvenance(file, act)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.