getfilter {enviGCMS}R Documentation

Filter the data based on row and column index

Description

Filter the data based on row and column index

Usage

getfilter(list, rowindex = T, colindex = T, name = NULL, type = "o", ...)

Arguments

list

list with data as peaks list, mz, rt and group information

rowindex

logical, row index to keep

colindex

logical, column index to keep

name

file name for csv and/or eic file, default NULL

type

csv formate for furthor analysis, m means Metaboanalyst, a means xMSannotator, p means Mummichog(NA values are imputed by 'getimputation', and F test is used here to generate stats and p vlaue), o means full infomation csv (for 'pmd' package), default o. mapo could output all those format files.

...

other parameters for 'getcsv'

Value

list with remain peaks, and filtered peaks index

See Also

getdata2,getdata, getmzrt, getimputation, getmr, getcsv

Examples

data(list)
li <- getdoe(list)
lif <- getfilter(li,rowindex = li$rsdindex)

[Package enviGCMS version 0.6.6 Index]