filterSignificant: filters significant values and returns them as list of...

Description Usage Arguments Examples

View source: R/filterSignificant.R

Description

filters significant values and returns them as list of data.frames

Usage

1
2
filterSignificant(foldchange, pvals, labels = NULL, pthresh = 0.05,
  foldchangethresh = 1, biasAdjust = FALSE)

Arguments

foldchange

log2 fold changes

pvals

p values

labels

e.g. protein ID's

pthresh

pvalue threshold

foldchangethresh

fold change threshold

biasAdjust

adjustment for p-values

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(quantable)
foldchange <- rnorm(1000)
pvals <-rexp(1000)
filterSignificant(foldchange, pvals,
 rep("blabla",length(pvals)), pthresh=0.1, foldchangethresh=1)
filterSignificant(foldchange[foldchange>0], pvals[foldchange>0],
 rep("blabla",length(pvals[foldchange>0])), pthresh=0.1, foldchangethresh=1)
filterSignificant(foldchange[foldchange<0], pvals[foldchange<0],
 rep("blabla",length(pvals[foldchange<0])), pthresh=0.1, foldchangethresh=1)
tt <- filterSignificant(foldchange, pvals,
 rep("blabla",length(pvals)), pthresh=0.1, foldchangethresh=10)

quantable documentation built on May 2, 2019, 4:05 p.m.