Learn R Programming

proteomics (version 0.2)

factoring: Sample design -- Generating multiple factor designs from one-dimensional factor

Description

Making a multiple-factor ANOVA from the single channel variable of an iTRAQ experiment.

Usage

factoring(dwide, cvmat)

Arguments

dwide
iTRAQ data in wide format including columns corresponding to iTRAQ channels containing their intensities.
cvmat
a matrix that hold the information on which channel is mapped to which factor.

Details

This function uses a matrix convmat to convert the single channel into a full fledged multiple factor ANOVA.

Examples

Run this code
channels <- c("X113", "X114", "X115", "X116", "X117", "X118", "X119") #, "X121")
typus     <- c(rep(c("A", "B", "C"), each=2), "reference")
treatment <- c(rep(c("I", "II"), 3), "mixed")
convmat   <- data.frame(channels=channels, typus=typus, treatment=treatment)
print(convmat)
## Not run: factoring(dwide, cvmat=convmat)

Run the code above in your browser using DataLab