copy | R Documentation |
- This function will assist users in copying entities (Tables, Links, Files, Folders, Projects), and will recursively copy everything in directories. - A Mapping of the old entities to the new entities will be created and all the wikis of each entity will also be copied over and links to synapse Ids will be updated.
copy(entity, destinationId, skipCopyWikiPage=FALSE, skipCopyAnnotations=FALSE, version=NULL, updateExisting=NULL, setProvenance=NULL, excludeTypes=NULL)
entity |
A synapse entity ID |
destinationId |
Synapse ID of a folder/project that the copied entity is being copied to |
skipCopyWikiPage |
Skip copying the wiki pages |
skipCopyAnnotations |
Skips copying the annotations |
version |
optional named parameter: Can specify version of a file. |
updateExisting |
optional named parameter: When the destination has an entity that has the same name, |
setProvenance |
optional named parameter: Has three values to set the provenance of the copied entity: |
excludeTypes |
optional named parameter: Accepts a list of entity types (file, table, link) which determines which entity types to not copy. |
a mapping between the original and copied entity: 'syn1234':'syn33455'
## Not run:
copy("syn1234", "syn33455")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.