Created
November 11, 2015 00:34
-
-
Save bheavner/a6c9bfe9d960542216d2 to your computer and use it in GitHub Desktop.
Apply provenance to existing synapse object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
metaDataOnly <- synGet(synapseId, downloadFile=F) | |
activity_name <- "RNA-seq Count File Merging" | |
input_files <- c("syn2875347") | |
code_files <- list(list(name = "merge_mouse_tau_rnaseq_counts.R", | |
url = "https://github.com/jaeddy/ampSynapseProjects/blob/v0.1-alpha/dataEnablement/R/merge_mouse_tau_rnaseq_counts.R", | |
wasExecuted = T), | |
list(name = "merge_count_files.R", | |
url = "https://github.com/jaeddy/ampSynapseProjects/blob/v0.1-alpha/dataEnablement/R/merge_count_files.R", | |
wasExecuted = T)) | |
output_files <- c("syn3160706") | |
description <- paste("To execute run:", | |
"Rscript merge_mouse_tau_rnaseq_counts.R") | |
attempt <- synStore(metaDataOnly, | |
used = input_files, | |
executed = code_files, | |
activityName = activity_name, | |
activityDescription = description) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment