rppa2boxplot {RPPanalyzer} | R Documentation |
Draws boxplots of groups of an RPPA data set and compares the expression values to a reference group (control) if provided (wilcox.test). Otherwise a test on general differences is performed (kruskal.test). Additionally a grouping order for plotting can be provided here.
rppa2boxplot(x, param, control=NULL, orderGrp=NULL, file = "boxplot_groups.pdf")
x |
List with RPPA data with aggregated replicate spots |
param |
Character value of one of the columns of the sampledescription matrix, i.e. x[[4]], describing the phenodata that should be analyzed |
control |
Character value of one of the columns of the sampledescription matrix, i.e. x[[4]], describing the sample group of |
orderGrp |
defines the ordering of the subgroups in |
file |
Title of the file that will be exported. |
Generates a PDF file
Silvia von der Heyde, Heiko Mannsperger
library(RPPanalyzer) data(dataIII) dataIII_median <- sample.median(dataIII) rppa2boxplot(x=dataIII_median, param="rank", control="vx", orderGrp=c("vx","zx","yzr","rxi"), file="wilcoxonBoxplot.pdf") rppa2boxplot(x=dataIII_median, param="rank", control=NULL, orderGrp=c("vx","zx","yzr","rxi"), file="kruskalBoxplot.pdf")