The functions runXmlMethodChanger and runScanHeadsman call
XmlMethodChanger.exe and ScanHeadsman.exe
with the corresponding arguments.
The only work on Windows (maybe on Linux + wine as well but that was never
tested).
createTngFusionMethFiles(
template,
xml = list.files(pattern = ".*\\.xml$"),
executable = "XmlMethodChanger.exe",
verbose = interactive()
)
runXmlMethodChanger(
template,
xml = list.files(pattern = ".*\\.xml$"),
executable = "XmlMethodChanger.exe",
verbose = interactive()
)
runScanHeadsman(path = ".", executable = "ScanHeadsman.exe")| template |
|
|---|---|
| xml |
|
| executable |
|
| verbose |
|
| path |
|
Nothing. Used for its side effects.
runXmlMethodChanger applies ‘XmlMethodChanger.exe’ on all given XML files
generated with writeMethodXmls()
to create .meth files from a template.
runScanHeadsman calls ScanHeadsman.exe
on a given directory containing .raw files.
ScanHeadsman.exe extracts the method and scan header data
into .experiments.csv and .txt files, respectively.
XmlMethodChanger source code: https://github.com/thermofisherlsms/meth-modifications/
ScanHeadsman source code: https://bitbucket.org/caetera/scanheadsman
if (FALSE) {
runXmlMethodChanger(templateMeth="TMS2IndependentTemplate240Extended.meth",
modificationXml=list.files(pattern="^method.*\\.xml$"),
executable="..\\XmlMethodChanger.exe")
}
if (FALSE) {
runScanHeadsman("raw", executable="..\\ScanHeadsman.exe")
}