Description Usage Arguments Examples
View source: R/filterSignificant.R
filters significant values and returns them as list of data.frames
1 2 | filterSignificant(foldchange, pvals, labels = NULL, pthresh = 0.05,
foldchangethresh = 1, biasAdjust = FALSE)
|
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 |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.