getfilter: Filter the data based on row and column index

getfilterR Documentation

Filter the data based on row and column index

Description

Filter the data based on row and column index

Usage

getfilter(list, rowindex = TRUE, colindex = TRUE, 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 format for further 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 value), o means full information 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)

enviGCMS documentation built on Feb. 16, 2023, 8:08 p.m.