# HG changeset patch # User galaxyp # Date 1529446060 14400 # Node ID 5a5b5a8fa8a0ad4943072fa62fb4fec02464bcc0 # Parent 2b9fa240e26141288e73f89a62641f4ceb3e8152 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5 diff -r 2b9fa240e261 -r 5a5b5a8fa8a0 msi_ion_images.xml --- a/msi_ion_images.xml Mon Jun 11 17:33:52 2018 -0400 +++ b/msi_ion_images.xml Tue Jun 19 18:07:40 2018 -0400 @@ -1,4 +1,4 @@ - + mass spectrometry imaging m/z heatmaps @@ -35,7 +35,7 @@ ## Read MALDI Imaging dataset #if $infile.ext == 'imzml' - msidata = readImzML('infile') + msidata <- readImzML('infile', mass.accuracy=$accuracy, units.accuracy = "$units") #elif $infile.ext == 'analyze75' msidata = readAnalyze('infile') #else @@ -130,7 +130,7 @@ ############################# I) numbers #################################### properties = c("Number of m/z features", - "Range of m/z values [Da]", + "Range of m/z values", "Number of pixels", "Range of x coordinates", "Range of y coordinates", @@ -181,7 +181,7 @@ print("standard image") print(image(msidata, mz=inputmz[mass],plusminus = $plusminus_dalton, contrast.enhance = "$image_contrast", - smooth.image = "$image_smoothing", strip=$strip, colorkey=$colorkey, + smooth.image = "$image_smoothing", strip=$strip, colorkey=$colorkey,ylim= c(maximumy+0.1*maximumy,minimumy-0.1*minimumy), main= paste0(inputnames[mass], " (", round(inputmz[mass], digits = 2)," ± ", $plusminus_dalton, " Da)")))} @@ -194,7 +194,7 @@ print(image(msidata, mz=inputmz[mass], strip = strip.custom(bg="lightgrey", par.strip.text=list(col="black", cex=.9)), lattice=TRUE, plusminus = $plusminus_dalton, contrast.enhance = "$image_contrast", smooth.image = "$image_smoothing", - colorkey=$colorkey, + colorkey=$colorkey,ylim= c(maximumy+0.1*maximumy,minimumy-0.1*minimumy), main= paste0(inputnames[mass], " (", round(inputmz[mass], digits = 2)," ± ", $plusminus_dalton, " Da)")))} #elif str($strip) =="FALSE": @@ -219,6 +219,11 @@ + + + + + diff -r 2b9fa240e261 -r 5a5b5a8fa8a0 test-data/Heatmaps_LM8_file16.pdf Binary file test-data/Heatmaps_LM8_file16.pdf has changed diff -r 2b9fa240e261 -r 5a5b5a8fa8a0 test-data/Heatmaps_analyze75.pdf Binary file test-data/Heatmaps_analyze75.pdf has changed diff -r 2b9fa240e261 -r 5a5b5a8fa8a0 test-data/Heatmaps_imzml.pdf Binary file test-data/Heatmaps_imzml.pdf has changed diff -r 2b9fa240e261 -r 5a5b5a8fa8a0 test-data/Heatmaps_rdata.pdf Binary file test-data/Heatmaps_rdata.pdf has changed