Plot.features: Features Plot for generalized Global Ancova

Description Usage Arguments Value Author(s) See Also Examples

View source: R/Plot.features.R

Description

Produces a plot to show the influence of individual variables on the test result produced by gGlobalAncova. The variables can be continuous, binary, categorical, ordinal, or of mixed types.

Usage

1
Plot.features(data, formula.full, formula.red = ~1, model.dat, Set, returnValues = FALSE, ...)

Arguments

data

data.frame of variables to be tested in sets (columns=variables); (multi-) categorical variables should be factors, ordinal variables should be ordered factors

formula.full

model formula for the full model

formula.red

model formula for the reduced model (that does not contain the terms of interest)

model.dat

data.frame of regressors, containing variables specified in formula.full and formula.red

Set

optional vector of names or indices of variables, defining the set of variables to plot; if missing, all variables in data are shown

returnValues

shall variable-wise statistics = bar heights be returned?

...

graphical parameters passed to barplot

Value

If returnValues = TRUE, a vector with the bar heights is returned.

Author(s)

Manuela Hummel m.hummel@dkfz.de

See Also

gGlobalAncova, Plot.genes

Examples

1
2
data(bindata)
Plot.features(bindata[,-1], formula.full = ~group, model.dat = bindata)

GlobalAncova documentation built on Nov. 8, 2020, 8:10 p.m.