...
Code Block | ||
---|---|---|
| ||
# Code used to generate the file will be syn123456 # Files used to generate the information expr_file <- synGet("syn246810", download=F) filter_file <- synGet("syn135791", download=F) # Activity to assign to multiple files act <- Activity(name="filtering", used=list(expr_file, filter_file), executed="syn123456") finalFile <- synStore(finalFile, activity=act) # Get the activity now associated with an entity act <- synGetProvenance(finalFile) # Now you can set this activity to as many files as you want (file1, file2, etc are Synapse Files) finalList <- c(file1, file2, file3) finalList <- lapply(finalList, function(x) synStore(x, activity=act)) |
See Also
Files and Versioning, Annotations and Queries
...