Mercurial > repos > galaxyp > msi_ion_images
annotate msi_ion_images.xml @ 5:a851b4e8fba7 draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
author | galaxyp |
---|---|
date | Mon, 11 Jun 2018 17:31:51 -0400 |
parents | 729a8bf3ffa9 |
children | 1a7cc5e14430 |
rev | line source |
---|---|
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
1 <tool id="mass_spectrometry_imaging_ion_images" name="MSI ion images" version="1.10.0.1"> |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
2 <description> |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
3 mass spectrometry imaging m/z heatmaps |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
4 </description> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
5 <requirements> |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
6 <requirement type="package" version="1.10.0">bioconductor-cardinal</requirement> |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
7 <requirement type="package" version="2.2.1">r-gridextra</requirement> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
8 <requirement type="package" version="0.20-35">r-lattice</requirement> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
9 </requirements> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
10 <command detect_errors="aggressive"> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
11 <![CDATA[ |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
12 #if $infile.ext == 'imzml' |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
13 ln -s '${infile.extra_files_path}/imzml' infile.imzML && |
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
14 ln -s '${infile.extra_files_path}/ibd' infile.ibd && |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
15 #elif $infile.ext == 'analyze75' |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
16 ln -s '${infile.extra_files_path}/hdr' infile.hdr && |
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
17 ln -s '${infile.extra_files_path}/img' infile.img && |
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
18 ln -s '${infile.extra_files_path}/t2m' infile.t2m && |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
19 #else |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
20 ln -s $infile infile.RData && |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
21 #end if |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
22 cat '${MSI_heatmaps}' && |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
23 Rscript '${MSI_heatmaps}' |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
24 ]]> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
25 </command> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
26 <configfiles> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
27 <configfile name="MSI_heatmaps"><![CDATA[ |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
28 |
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
29 ################################# load libraries and read file ################# |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
30 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
31 library(Cardinal) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
32 library(gridExtra) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
33 library(lattice) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
34 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
35 ## Read MALDI Imaging dataset |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
36 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
37 #if $infile.ext == 'imzml' |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
38 msidata = readImzML('infile') |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
39 #elif $infile.ext == 'analyze75' |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
40 msidata = readAnalyze('infile') |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
41 #else |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
42 load('infile.RData') |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
43 #end if |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
44 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
45 |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
46 ###################################### file properties in numbers ############## |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
47 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
48 ## Number of features (m/z) |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
49 maxfeatures = length(features(msidata)) |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
50 ## Range m/z |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
51 minmz = round(min(mz(msidata)), digits=2) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
52 maxmz = round(max(mz(msidata)), digits=2) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
53 ## Number of spectra (pixels) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
54 pixelcount = length(pixels(msidata)) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
55 ## Range x coordinates |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
56 minimumx = min(coord(msidata)[,1]) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
57 maximumx = max(coord(msidata)[,1]) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
58 ## Range y coordinates |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
59 minimumy = min(coord(msidata)[,2]) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
60 maximumy = max(coord(msidata)[,2]) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
61 ## Range of intensities |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
62 minint = round(min(spectra(msidata)[]), digits=2) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
63 maxint = round(max(spectra(msidata)[]), digits=2) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
64 medint = round(median(spectra(msidata)[]), digits=2) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
65 ## Number of intensities > 0 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
66 npeaks= sum(spectra(msidata)[]>0) |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
67 ## Spectra multiplied with m/z (potential number of peaks) |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
68 numpeaks = ncol(spectra(msidata)[])*nrow(spectra(msidata)[]) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
69 ## Percentage of intensities > 0 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
70 percpeaks = round(npeaks/numpeaks*100, digits=2) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
71 ## Number of empty TICs |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
72 TICs = colSums(spectra(msidata)[]) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
73 NumemptyTIC = sum(TICs == 0) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
74 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
75 ## Processing informations |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
76 processinginfo = processingData(msidata) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
77 centroidedinfo = processinginfo@centroided # TRUE or FALSE |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
78 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
79 ## if TRUE write processinginfo if no write FALSE |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
80 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
81 ## normalization |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
82 if (length(processinginfo@normalization) == 0) { |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
83 normalizationinfo='FALSE' |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
84 } else { |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
85 normalizationinfo=processinginfo@normalization |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
86 } |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
87 ## smoothing |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
88 if (length(processinginfo@smoothing) == 0) { |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
89 smoothinginfo='FALSE' |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
90 } else { |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
91 smoothinginfo=processinginfo@smoothing |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
92 } |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
93 ## baseline |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
94 if (length(processinginfo@baselineReduction) == 0) { |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
95 baselinereductioninfo='FALSE' |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
96 } else { |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
97 baselinereductioninfo=processinginfo@baselineReduction |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
98 } |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
99 ## peak picking |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
100 if (length(processinginfo@peakPicking) == 0) { |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
101 peakpickinginfo='FALSE' |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
102 } else { |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
103 peakpickinginfo=processinginfo@peakPicking |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
104 } |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
105 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
106 ##################################### read and filter input m/z ############## |
2
3ab8917d59cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit ed7d3e6f1a09c78c8f71cc1bdc1a20249767f646
galaxyp
parents:
1
diff
changeset
|
107 |
3ab8917d59cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit ed7d3e6f1a09c78c8f71cc1bdc1a20249767f646
galaxyp
parents:
1
diff
changeset
|
108 input_list = read.delim("$massfile", header = FALSE, stringsAsFactors = FALSE) |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
109 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
110 ### in case input file had only one column with m/z values but not names, duplicate m/z values and use as names: |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
111 if (ncol(input_list) == 1){ |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
112 input_list = cbind(input_list, input_list)} |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
113 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
114 ### calculate how many input m/z are valid: |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
115 inputmasses = input_list[input_list[,1]>minmz & input_list[,1]<maxmz,] |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
116 inputmz = as.numeric(inputmasses[,1]) |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
117 inputnames = as.character(inputmasses[,2]) |
2
3ab8917d59cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit ed7d3e6f1a09c78c8f71cc1bdc1a20249767f646
galaxyp
parents:
1
diff
changeset
|
118 |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
119 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
120 ############################## PDF ############################################# |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
121 ################################################################################ |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
122 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
123 pdf("heatmaps.pdf", fonts = "Times", pointsize = 12) |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
124 plot(0,type='n',axes=FALSE,ann=FALSE) |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
125 #if not $filename: |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
126 #set $filename = $infile.display_name |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
127 #end if |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
128 title(main=paste("\nHeatmap images\n\n", "Filename:\n", "$filename")) |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
129 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
130 ############################# I) numbers #################################### |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
131 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
132 properties = c("Number of m/z features", |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
133 "Range of m/z values [Da]", |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
134 "Number of pixels", |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
135 "Range of x coordinates", |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
136 "Range of y coordinates", |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
137 "Range of intensities", |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
138 "Median of intensities", |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
139 "Intensities > 0", |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
140 "Number of zero TICs", |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
141 "Preprocessing", |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
142 "Normalization", |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
143 "Smoothing", |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
144 "Baseline reduction", |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
145 "Peak picking", |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
146 "Centroided", |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
147 paste0("# valid m/z in \n", "$massfile.display_name")) |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
148 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
149 values = c(paste0(maxfeatures), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
150 paste0(minmz, " - ", maxmz), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
151 paste0(pixelcount), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
152 paste0(minimumx, " - ", maximumx), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
153 paste0(minimumy, " - ", maximumy), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
154 paste0(minint, " - ", maxint), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
155 paste0(medint), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
156 paste0(percpeaks, " %"), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
157 paste0(NumemptyTIC), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
158 paste0(" "), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
159 paste0(normalizationinfo), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
160 paste0(smoothinginfo), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
161 paste0(baselinereductioninfo), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
162 paste0(peakpickinginfo), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
163 paste0(centroidedinfo), |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
164 paste0(length(inputmz), "/", length(input_list[,1]))) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
165 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
166 property_df = data.frame(properties, values) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
167 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
168 grid.table(property_df, rows= NULL) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
169 |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
170 ############################# II) images #################################### |
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
171 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
172 ### only plot images when file has peaks and valid input m/z: |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
173 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
174 if (npeaks > 0){ |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
175 if (length(inputmz) != 0){ |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
176 for (mass in 1:length(inputmz)){ |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
177 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
178 ###standard image |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
179 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
180 #if str($image_cond.image_type) == "standard_image": |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
181 print("standard image") |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
182 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
183 print(image(msidata, mz=inputmz[mass],plusminus = $plusminus_dalton, contrast.enhance = "$image_contrast", |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
184 smooth.image = "$image_smoothing", strip=$strip, colorkey=$colorkey, |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
185 main= paste0(inputnames[mass], " (", round(inputmz[mass], digits = 2)," ± ", $plusminus_dalton, " Da)")))} |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
186 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
187 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
188 ###lattice image |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
189 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
190 #elif str($image_cond.image_type) == "lattice_image": |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
191 print("lattice image") |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
192 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
193 #if str($strip) =="TRUE": |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
194 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
195 print(image(msidata, mz=inputmz[mass], strip = strip.custom(bg="lightgrey", par.strip.text=list(col="black", cex=.9)), |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
196 lattice=TRUE, plusminus = $plusminus_dalton, contrast.enhance = "$image_contrast", smooth.image = "$image_smoothing", |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
197 colorkey=$colorkey, |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
198 main= paste0(inputnames[mass], " (", round(inputmz[mass], digits = 2)," ± ", $plusminus_dalton, " Da)")))} |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
199 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
200 #elif str($strip) =="FALSE": |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
201 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
202 print(image(msidata, mz=inputmz[mass], strip = $strip, |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
203 lattice=TRUE, plusminus = $plusminus_dalton, contrast.enhance = "$image_contrast", smooth.image = "$image_smoothing", |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
204 colorkey=$colorkey, |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
205 main= paste0(inputnames[mass], " (", round(inputmz[mass], digits = 2)," ± ", $plusminus_dalton, " Da)")))} |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
206 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
207 #end if |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
208 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
209 #end if |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
210 |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
211 } else {print("The input m/z were invalid")} |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
212 dev.off() |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
213 }else{ |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
214 print("inputfile has no intensities > 0") |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
215 dev.off() |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
216 } |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
217 ]]></configfile> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
218 </configfiles> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
219 <inputs> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
220 <param name="infile" type="data" format="imzml,rdata,analyze75" label="Inputfile as imzML, Analyze7.5 or Cardinal MSImageSet saved as RData" |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
221 help="Upload composite datatype imzml (ibd+imzML) or analyze75 (hdr+img+t2m) or regular upload .RData (Cardinal MSImageSet)"/> |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
222 <param name="filename" type="text" value="" label="Title" help="will appear in the pdf output. If nothing given it will take the dataset name"/> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
223 <param name="massfile" type="data" format="tabular" label="Tabular file with m/z and names" |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
224 help="first column m/z, second column m/z name, tab separated file"/> |
2
3ab8917d59cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit ed7d3e6f1a09c78c8f71cc1bdc1a20249767f646
galaxyp
parents:
1
diff
changeset
|
225 <param name="image_contrast" type="select" label="Select a contrast enhancement function for the heatmap images" help="The 'histogram' equalization method flatterns the distribution of intensities. The hotspot 'suppression' method uses thresholding to reduce the intensities of hotspots"> |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
226 <option value="none" selected="True">none</option> |
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
227 <option value="suppression">suppression</option> |
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
228 <option value="histogram">histogram</option> |
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
229 </param> |
2
3ab8917d59cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit ed7d3e6f1a09c78c8f71cc1bdc1a20249767f646
galaxyp
parents:
1
diff
changeset
|
230 <param name="image_smoothing" type="select" label="Select an image smoothing function for the heatmap images" help="The 'gaussian' smoothing method smooths images with a simple gaussian kernel. The 'adaptive' method uses bilateral filtering to preserve edges"> |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
231 <option value="none" selected="True">none</option> |
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
232 <option value="gaussian">gaussian</option> |
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
233 <option value="adaptive">adaptive</option> |
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
234 </param> |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
235 <param name="plusminus_dalton" value="0.25" type="float" label="M/z range" help="plusminus m/z window in Dalton"/> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
236 <param name="strip" type="boolean" checked="True" display="radio" truevalue="TRUE" falsevalue="FALSE" label="Display m/z value in plot"/> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
237 <param name="colorkey" type="boolean" checked="True" display="radio" truevalue="TRUE" falsevalue="FALSE" label="Display colorkey in plot"/> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
238 <conditional name="image_cond"> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
239 <param name="image_type" type="select" label="Select the image type"> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
240 <option value="standard_image" selected="True">standard</option> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
241 <option value="lattice_image">lattice</option> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
242 </param> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
243 <when value="standard_image"/> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
244 <when value="lattice_image"/> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
245 </conditional> |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
246 </inputs> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
247 <outputs> |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
248 <data format="pdf" name="plots" from_work_dir="heatmaps.pdf" label = "$infile.display_name heatmaps"/> |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
249 </outputs> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
250 <tests> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
251 <test> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
252 <param name="infile" value="" ftype="imzml"> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
253 <composite_data value="Example_Continuous.imzML"/> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
254 <composite_data value="Example_Continuous.ibd"/> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
255 </param> |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
256 <param name="massfile" value="inputpeptides.tabular" ftype="tabular"/> |
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
257 <param name="plusminus_dalton" value="0.25"/> |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
258 <param name="filename" value="Testfile_imzml"/> |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
259 <param name="image_contrast" value="histogram"/> |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
260 <param name="strip" value="True"/> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
261 <param name="colorkey" value="True"/> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
262 <param name="image_type" value="lattice_image"/> |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
263 <output name="plots" file="Heatmaps_imzml.pdf" compare="sim_size" delta="20000"/> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
264 </test> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
265 <test> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
266 <param name="infile" value="" ftype="analyze75"> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
267 <composite_data value="Analyze75.hdr"/> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
268 <composite_data value="Analyze75.img"/> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
269 <composite_data value="Analyze75.t2m"/> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
270 </param> |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
271 <param name="massfile" value="inputpeptides2.tabular" ftype="tabular"/> |
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
272 <param name="plusminus_dalton" value="0.5"/> |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
273 <param name="filename" value="Testfile_analyze75"/> |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
274 <param name="image_smoothing" value="gaussian"/> |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
275 <param name="strip" value="False"/> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
276 <param name="colorkey" value="True"/> |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
277 <output name="plots" file="Heatmaps_analyze75.pdf" compare="sim_size" delta="20000"/> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
278 </test> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
279 <test> |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
280 <param name="infile" value="preprocessed.rdata" ftype="rdata"/> |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
281 <param name="massfile" value="inputpeptides.tabular" ftype="tabular"/> |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
282 <param name="plusminus_dalton" value="0.5"/> |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
283 <param name="strip" value="True"/> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
284 <param name="colorkey" value="True"/> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
285 <param name="image_type" value="lattice_image"/> |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
286 <param name="filename" value="Testfile_rdata"/> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
287 <output name="plots" file="Heatmaps_rdata.pdf" compare="sim_size" delta="20000"/> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
288 </test> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
289 <test> |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
290 <param name="infile" value="empty_spectra.rdata" ftype="rdata"/> |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
291 <param name="massfile" value="inputpeptides2.tabular" ftype="tabular"/> |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
292 <param name="plusminus_dalton" value="0.5"/> |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
293 <param name="strip" value="True"/> |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
294 <param name="colorkey" value="False"/> |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
295 <param name="filename" value="Testfile_rdata"/> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
296 <output name="plots" file="Heatmaps_LM8_file16.pdf" compare="sim_size" delta="20000"/> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
297 </test> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
298 </tests> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
299 <help><![CDATA[ |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
300 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
301 |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
302 Cardinal is an R package that implements statistical & computational tools for analyzing mass spectrometry imaging datasets. `More information on Cardinal <http://cardinalmsi.org//>`_ |
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
303 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
304 This tool uses the Cardinal image function to plot the intensity distribution of interesting m/z of mass spectrometry imaging data. |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
305 Input data: |
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
306 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
307 3 types of mass spectrometry imaging data can be used: |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
308 |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
309 - imzml file (upload imzml and ibd file via the "composite" function) `Introduction to the imzml format <https://ms-imaging.org/wp/imzml/>`_ |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
310 - Analyze7.5 (upload hdr, img and t2m file via the "composite" function) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
311 - Cardinal "MSImageSet" data (with variable name "msidata", saved as .RData) |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
312 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
313 Tabular file with m/z: |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
314 |
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
315 - tab separated file (.tabular), datatype in Galaxy must be tabular otherwise file will not appear in selection window (if Galaxy auto-detection was wrong, datatype can be changed by pressing button with the pen (edit attributes)) |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
316 - first column must contain m/z (separate point numbers by point, not comma) |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
317 - optionally a second column with names for the m/z can be provided |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
318 - no empty fields or letters are allowed in the first column |
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
319 |
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
320 Output: |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
321 |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
322 - Pdf with the heatmap images |
1
ce354a40c13c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit edbf2a6cb50fb04d0db56a7557a64e3bb7a0806a
galaxyp
parents:
0
diff
changeset
|
323 |
4
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
324 Troubleshooting: |
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
325 |
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
326 - no heatmaps are plotted when tabular file doesn't fulfill the criteria described above |
729a8bf3ffa9
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
3
diff
changeset
|
327 - no heatmaps are plotted when the input mass spectrometry imaging file has no intensities > 0 |
5
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
328 - the contrast enhance and image smoothing functions require a certain number of m/z with intensities > 0 (empirical value > 2% of spectra) |
a851b4e8fba7
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
4
diff
changeset
|
329 - the standard image function should work for all files while the lattice function works not on every file (nicely) |
0
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
330 |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
331 ]]> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
332 </help> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
333 <citations> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
334 <citation type="doi">10.1093/bioinformatics/btv146</citation> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
335 </citations> |
8ae9894fc55f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_ion_images commit 6d271de132f364b1e16b0222ad2d6e315586f0dd
galaxyp
parents:
diff
changeset
|
336 </tool> |