changeset 25:f9cd87ac8006 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit c58b9b301977f191acd40a22b630177c381317ca
author eschen42
date Thu, 14 Jul 2022 02:58:42 +0000
parents 8582a9797c18
children 5b8e15b2a67c
files macros.xml mqppep_anova_script.Rmd
diffstat 2 files changed, 12 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Thu Jul 14 02:12:33 2022 +0000
+++ b/macros.xml	Thu Jul 14 02:58:42 2022 +0000
@@ -1,5 +1,5 @@
 <macros>
-    <token name="@TOOL_VERSION@">0.1.13</token>
+    <token name="@TOOL_VERSION@">0.1.14</token>
     <token name="@VERSION_SUFFIX@">0</token>
     <xml name="requirements">
         <requirements>
--- a/mqppep_anova_script.Rmd	Thu Jul 14 02:12:33 2022 +0000
+++ b/mqppep_anova_script.Rmd	Thu Jul 14 02:58:42 2022 +0000
@@ -25,7 +25,7 @@
   regexSampleGrouping:  "\\d+"
   show_toc:             true
   firstDataColumn:      "^Intensity[^_]"
-  imputationMethod:     !r c("group-median", "median", "mean", "random")[4]
+  imputationMethod:     !r c("group-median", "median", "mean", "random")[1]
   meanPercentile:       1
   sdPercentile:         1.0
   imputedDataFilename:  "test-data/limbo/imputedDataFilename.txt"
@@ -74,6 +74,8 @@
   inputFile:            "test-data/pST_Sites_NancyDu.txt.preproc.tabular"
   preprocDb:            "test-data/pST_Sites_NancyDu.txt.preproc.sqlite"
   kseaAppPrepDb:        !r c(":memory:", "test-data/pST_Sites_NancyDu.ksea.sqlite")[2]
+  regexSampleNames:     "\\.\\d+[A-Z]$"
+  regexSampleGrouping:  "\\d+"
 
   inputFile:            "test-data/density_failure.preproc_tab.tabular"
   kseaAppPrepDb:        !r c(":memory:", "mqppep.sqlite")[2]
@@ -2456,13 +2458,16 @@
                 "log(intensities), row-scaled, unimputed, unnormalized",
               suppress_row_dendrogram = FALSE
             )
+          if (number_of_peptides_found > 1) {
+            cat("\\leavevmode\n")
+            cat("The adjusted ANOVA \\textit{p}-value is shown in parentheses
+              after the phosphopeptide sequence.\n\n")
+          }
       }
     }
   }
 }
 cat("\\leavevmode\n")
-cat("The adjusted ANOVA \\textit{p}-value is shown in parentheses
-  after the phosphopeptide sequence.\n\n")
 ```
 
 ```{r sqlite, echo = FALSE, fig.dim = c(9, 10), results = 'asis'}
@@ -3243,7 +3248,9 @@
     )
     if (!is.null(plotted_kinases)) {
       cat("\\begin{center}\n")
-      cat("Color intensity reflects $z$-score magnitudes; hue reflects $z$-score sign.  Asterisks reflect significance.\n")
+      cat("Color intensity reflects $z$-score magnitudes; hue reflects $z$-score sign.\n")
+      if (which_kinases != const_ksea_nonastrsk_kinases)
+        cat("Asterisks reflect significance.\n")
       cat("\\end{center}\n")
     }
   } # end for (i in ...