Learn R Programming

protViz (version 0.2.06)

pgLFQaov: iTRAQ two group analysis

Description

The function performes an ANOVA for data sets like pgLFQ.

Usage

pgLFQaov(data, groups, names, idx, plot, FUN)

Arguments

data
a data set like pgLFq.
groups
a factor.
names
a vector of strings for the main attribute of each plot.
idx
a integer vector of indice to be processed.
plot
logical. If 'TRUE' (non default), a boxplot is drawn.
FUN
function for doing the data transformation, e.g. log, asinh.

Details

The methode performs an oav analysis using the R oav function. It returns a vector of the ANOVA "Pr(>F)" values in the same order.

Examples

Run this code
data(pgLFQprot)

    par(mfrow=c(4,3))
    ANOVA<-pgLFQaov(pgLFQprot$"Normalized abundance",
        groups=as.factor(pgLFQprot$grouping),
        names=pgLFQprot$output$Accession,
        plot=TRUE)
    ANOVA

Run the code above in your browser using DataLab