getWRValuesForVolcano: get p-values of wilcoxon rank sum test for volcano

Description Usage Arguments Value Examples

View source: R/getValuesForVolcano.R

Description

get p-values of wilcoxon rank sum test for volcano

Usage

1
getWRValuesForVolcano(x, y, paired = FALSE, adjust = TRUE)

Arguments

x

- one data matrix

y

- second data matrix

paired

a logical indicating whether you want a paired t-test.

adjust

pvalues using Benjamin Hochberg

Value

list with two fields fchange (fold change) and pval

Examples

1
2
3
4
5
6
7
a <- t(replicate(200,rnorm(20,runif(1,-3,3),1)))
b <- a[1:100,]
a <- a[101:200,]
boxplot(t(a[1:20,]))
boxplot(t(b[1:20,]))
res <- getWRValuesForVolcano(a,b)
volcanoplot(res$fchange , res$pval)

protViz/quantable documentation built on Nov. 29, 2021, 10:07 a.m.