Import features from csv file format

Description

This module imports features present in a specific format from a csv file. This kind of format can be obtained by using xcms library in R to find peaks using Centwave algorithm on a mzXML file. The R code returns a list of features with following columns which can be exported to a csv file to be used as an import for this module. Column Numbering starts from 0, and 0th column is ignored.

Column Name - Column No.

To use this module, first input the rawdata file which was used to generate peakList from the R code. Then select that raw file and use csv import to import the csv file exported from the R code.

Example R code that generates the csv file

mzfile <- system.file("standards.mzXML")
library(xcms)
mzraw <- readMSData(files = mzfile, mode = "onDisk")
cpw <- CentWaveParam(ppm = 15, peakwidth = c(5,20), snthresh = 10)
mzData <- findChromPeaks(object = mzraw, param = cpw)
peaklist <- as.data.frame(xcms::chromPeaks(mzData))
write.csv(peaklist, "peakListFile.csv")