Mercurial > repos > galaxyp > cardinal_spectra_plots
diff macros.xml @ 8:ebb7de263d49 draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit d008f6ea0f5c8435fb975a34cb99ea4d42c5ebd2"
author | galaxyp |
---|---|
date | Wed, 13 May 2020 14:31:42 -0400 |
parents | 64ea4507e0bd |
children | 0b7e00e5b9d2 |
line wrap: on
line diff
--- a/macros.xml Thu Apr 23 08:05:19 2020 -0400 +++ b/macros.xml Wed May 13 14:31:42 2020 -0400 @@ -32,6 +32,12 @@ <token name="@READING_MSIDATA@"><![CDATA[ ## importing MSI data files + ## read RData files (MSI and other data) independent of filename + loadRData <- function(fileName){ + load(fileName) + get(ls()[ls() != "fileName"]) + } + #if $infile.ext == 'imzml' #if str($processed_cond.processed_file) == "processed": msidata <- readImzML('infile', resolution=$processed_cond.accuracy, attach.only=TRUE, units = "$processed_cond.units") @@ -45,11 +51,6 @@ msidata = readAnalyze('infile', attach.only=TRUE) centroided(msidata) = $centroids #else - ## function to read RData files independent of filename - loadRData <- function(fileName){ - load(fileName) - get(ls()[ls() != "fileName"]) - } msidata = loadRData('infile.RData') #end if