transX {statTarget} | R Documentation

## transX for statTarget inputs

### Description

transX is to generate statTarget input file formats from Mass Spectrometry Data softwares, such as XCMS, MZmine2,SIEVE and SKYLINE.

### Usage

    transX(data, type)

### Arguments

`data` | A transX objects. The output file from Mass Spectrometry Data softwares, such as '*.tsv' file from diffreport in XCMS software, '*.csv' file from SIEVE software,'.csv' file from SKYLINE software, '*.csv' file (Export to metaboAnalyst file) from MZmine2 software.
`type` | The output file formats from Mass Spectrometry Data software, including 'XCMS' or 'xcms','MZmine2' or 'mzmine2','SIEVE' or 'sieve' and 'skyline' or 'SKYLINE'; Read-only .tsv file from diffreport in XCMS software

### Value

An output directory named 'statTargetDirectory'

### Author(s)

Hemi Luan, hemi.luan@gmail.com

### Examples

    datpath <- system.file('extdata',package = 'statTarget')
    dataXcms <- paste(datpath,'xcmsOutput.tsv', sep='/')
    dataSkyline <- paste(datpath,'skylineDemo.csv', sep='/')
    transX(dataXcms,'xcms')

[Package statTarget version 1.24.0 Index]