View source: R/iTRAQ2GroupAnalysis.R
iTRAQ2GroupAnalysis | R Documentation |
The function performes a two group analysis with a t-test for data sets like iTRAQ
. Result files are generated where the 2 groups are compared for each protein, while a p-value is calculated. If plot equals TRUE, the boxplots are drawn.
iTRAQ2GroupAnalysis(data, group1, group2,
INDEX, FUN=function(x){return(x)}, plot)
data |
a data set like iTRAQ. |
group1 |
a vector of column ids. |
group2 |
a vector of column ids. |
INDEX |
list of factors, each of same length as |
FUN |
function for doing the data transformation, e.g. log, asinh. |
plot |
boolean. if TRUE boxplots are drawn. |
t.b.d.
Christian Panse, Jonas Grossmann 2011
data(iTRAQ)
par(mfrow=c(2,3))
qProt<-iTRAQ2GroupAnalysis(data=iTRAQ,
group1=c(3,4,5,6),
group2=7:10, INDEX=iTRAQ$prot, plot=TRUE)
qProt
qPeptide<-iTRAQ2GroupAnalysis(data=iTRAQ,
group1=c(3,4,5,6),
group2=7:10,
INDEX=paste(iTRAQ$prot,iTRAQ$peptide), plot=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.