chemSigSelect {RFPM}R Documentation

Chemical Data Selection within the Floating Percentile Model

Description

Generate a dataset of concentrationso for chemicals with significantly higher concentrations among toxic samples by comparison to non-toxic samples

Usage

chemSigSelect(data, paramList, plot = FALSE, ...)

Arguments

data

data.frame containing, at a minimum, chemical concentrations as columns and a logical Hit column classifying toxicity

paramList

character vector naming columns of data containing concentrations

plot

logical value indicating whether or not to generate figures comparing concentrations between subsets where Hit == TRUE and Hit == FALSE (default = FALSE)

...

additional arguments passed to chemSig

Details

chemSigSelect is used within FPM to quickly run chemSig and export concentrations from data for the significant chemicals to include in the floating percentile model algorithm. Results are exported in list with two data.frames, separated into chemicals that were significant ("sig") and non-significant ("nonsig") For information on data and paramList, see details of ?FPM.

If plot = TRUE, then a series of plots will be exported comparing the Hit/No-hit data subsets for all chemicals in paramList. Plots with blue lines are generated from significant chemicals, and plots with green lines are generated from non-significant chemicals. The user currently has only limited control over graphical parameters of plots, and attempts to change graphical parameters are likely to cause errors.

Value

list of two data.frames ("sig" and "nonsig"), chemSigSelect class object

See Also

plot.chemSigSelect, FPM, chemSig

Examples

paramList = c("Cd", "Cu", "Fe", "Mn", "Ni", "Pb", "Zn")
chemSigSelect(h.tristate, paramList)$sig[1:6,]
chemSigSelect(h.tristate, paramList, testType = "p")$sig[1:6,]

[Package RFPM version 1.1 Index]