# HG changeset patch # User caleb-easterly # Date 1519317943 18000 # Node ID 5a39fa8a235ae8b9a6d432cb5b365d124911fb29 # Parent 07bd2582526bcadbb1e3be843f88ddb759103a41 planemo upload for repository https://github.com/caleb-easterly/galaxytools/peca diff -r 07bd2582526b -r 5a39fa8a235a peca.R --- a/peca.R Thu Feb 22 11:35:33 2018 -0500 +++ b/peca.R Thu Feb 22 11:45:43 2018 -0500 @@ -20,8 +20,11 @@ group1_ind_file <- as.vector(as.matrix(read.csv(args[2], header = FALSE)[1, ])) group2_ind_file <- as.vector(as.matrix(read.csv(args[3], header = FALSE)[1, ])) + # test type + ttype <- args[4] + # read 4th argument, which is output file name - out_file <- args[4] + out_file <- args[5] # get vectors of column names df_names <- colnames(quant_file) @@ -30,7 +33,11 @@ # run PECA_df # id column is first column (hard-coded) - results <- PECA_df(quant_file, group1_names, group2_names, id = df_names[1]) + results <- PECA_df(quant_file, + group1_names, + group2_names, + type=ttype, + id = df_names[1]) # put add protein names column results$prot <- row.names(results) diff -r 07bd2582526b -r 5a39fa8a235a peca.xml --- a/peca.xml Thu Feb 22 11:35:33 2018 -0500 +++ b/peca.xml Thu Feb 22 11:45:43 2018 -0500 @@ -7,12 +7,17 @@ ## write groups to file echo '$group1' > group1.txt && echo '$group2' > group2.txt && - Rscript --vanilla '$__tool_directory__/peca.R' '$input' group1.txt group2.txt '$output' + Rscript --vanilla '$__tool_directory__/peca.R' '$input' group1.txt group2.txt '$test_type' '$output' ]]> + + + + + @@ -22,6 +27,7 @@ +