Repository revision
2:1bc9150ed125

Repository 'iwtomics_plotwithscale'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/iwtomics_plotwithscale

IWTomics Plot with Threshold tool metadata
Miscellaneous
on Test Scale
iwtomics_plotwithscale
toolshed.g2.bx.psu.edu/repos/iuc/iwtomics_plotwithscale/iwtomics_plotwithscale/1.0.0.0
1.0.0.0
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/iuc/iwtomics_plotwithscale/iwtomics_plotwithscale/1.0.0.0 (this tool)
iwtomics_plotwithscale
Requirements (dependencies defined in the <requirements> tag set)
name version type
bioconductor-iwtomics 1.0.0 package
Additional information about this tool
Rscript '$__tool_directory__/plotwithscale.R' adjustedpvalue='${adjustedpvalue}' iwtomicsrespdf='${iwtomicsrespdf}' iwtomicssumpdf='${iwtomicssumpdf}'
      iwtomicsrdata='${rdata}'
      iwtomicstests='${testids}'
      iwtomicsselectedfeatures='${featureids}'

      #set test_subset = '|'.join( [ str( $e.test ) for $e in $scalesection.thresholdontestscale ] )
      test_subset='${test_subset}'
      #set feature_subset = '|'.join( [ str( $e.feature ) for $e in $scalesection.thresholdontestscale ] )
      feature_subset='${feature_subset}'
      #set scale_subset = ','.join( [ str( $e.scale ) for $e in $scalesection.thresholdontestscale ] )
      scale_subset='c(${scale_subset})'

      testalpha='${plotres.alpha}'
      average='${plotres.average}'
      size='${plotres.size}'
      plottype="'${plotres.conditionalplottype.plottype}'"
      #if $plotres.conditionalplottype.plottype == 'boxplot':
        #set probs = ','.join( [ str( $p.prob ) for $p in $plotres.conditionalplottype.probabilitiessection.probabilities ] )
        #if $probs != "":
          probs='c(${plotres.conditionalplottype.probabilitiessection.prob0},${plotres.conditionalplottype.probabilitiessection.prob1},${plotres.conditionalplottype.probabilitiessection.prob2},${probs})'
        #else:
          probs='c(${plotres.conditionalplottype.probabilitiessection.prob0},${plotres.conditionalplottype.probabilitiessection.prob1},${plotres.conditionalplottype.probabilitiessection.prob2})'
        #end if
      #end if

      groupby="'${plotsum.conditionalgroupby.groupby}'"
      #if $plotsum.conditionalgroupby.groupby == "test":
        summaryalpha='${plotsum.conditionalgroupby.testalphaplot}'
        only_significant='${plotsum.conditionalgroupby.testonlysig}'
      #elif $plotsum.conditionalgroupby.groupby == "feature":
        summaryalpha='${plotsum.conditionalgroupby.featurealphaplot}'
        only_significant='${plotsum.conditionalgroupby.featureonlysig}'
      #end if

  
None
False
Functional tests
name inputs outputs required files
Test-1 plotres|conditionalplottype|probabilitiessection|prob2: 0.75
plotsum|conditionalgroupby|featurealphaplot: 0.05
plotres|average: True
plotsum|conditionalgroupby|featureonlysig: True
scalesection|thresholdontestscale_1|feature: 2
scalesection|thresholdontestscale_0|scale: 10
testids: output_testandplot/iwtomics.testandplot.tests.txt
plotres|conditionalplottype|probabilitiessection|prob0: 0.25
plotsum|conditionalgroupby|groupby: feature
plotres|size: True
plotres|conditionalplottype|plottype: boxplot
rdata: output_testandplot/iwtomics.testandplot.RData
plotres|alpha: 0.05
scalesection|thresholdontestscale_0|feature: 1
featureids: output_testandplot/iwtomics.testandplot.selectedfeatures.txt
scalesection|thresholdontestscale_1|test: ['1', '2', '3']
scalesection|thresholdontestscale_0|test: 1
plotres|conditionalplottype|probabilitiessection|prob1: 0.5
scalesection|thresholdontestscale_1|scale: 20
adjustedpvalue: iwtomics.plotwithscale.adjustedpvalue.txt
iwtomicsrespdf: iwtomics.plotwithscale.iwtomicstestresults.pdf
iwtomicssumpdf: iwtomics.plotwithscale.summaryplot.pdf
output_testandplot/iwtomics.testandplot.RData
output_testandplot/iwtomics.testandplot.tests.txt
output_testandplot/iwtomics.testandplot.selectedfeatures.txt
output_plotwithscale/iwtomics.plotwithscale.adjustedpvalue.txt
output_plotwithscale/iwtomics.plotwithscale.iwtomicstestresults.pdf
output_plotwithscale/iwtomics.plotwithscale.summaryplot.pdf