rppa2boxplot: Draws boxplots of groups of an RPPA data set including wilcox...

Description Usage Arguments Value Author(s) Examples

Description

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.

Usage

1
rppa2boxplot(x, param, control=NULL, orderGrp=NULL, file = "boxplot_groups.pdf")

Arguments

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 param that serves as reference in the wilcoxon test. In case of NULL (default) the general kruskal.test is performed instead.

orderGrp

defines the ordering of the subgroups in param, i.e. vector of specifically ordered values of param

file

Title of the file that will be exported.

Value

Generates a PDF file

Author(s)

Silvia von der Heyde, Heiko Mannsperger

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
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")

## End(Not run)

RPPanalyzer documentation built on Dec. 17, 2020, 5:10 p.m.