Description Usage Arguments Value Author(s) Examples

Given a p-value matrix and a threshold value, `filterPmat`

removes rows where there is no p-values lower than the given
threshold.

1 | ```
filterPmat(x, threshold)
``` |

`x` |
A matrix of p-values. It must be raw p-values and should not be transformed (e.g. logarithmic). |

`threshold` |
A numeric value, the minimal p-value used to filter
rows. If missing, given the values of |

Matrix of p-values. If no line is left, a empty matrix of the same dimension as input will be returned.

Jitao David Zhang <[email protected]>

1 2 3 4 5 6 7 8 9 | ```
set.seed(1235)
testMatrix <- matrix(runif(100,0,1), nrow=10)
## filtering
(testMatrix.filter <- filterPmat(testMatrix, threshold=0.05))
## more strict filtering
(testMatrix.strictfilter <- filterPmat(testMatrix, threshold=0.01))
## no filtering
(testMatrix.nofilter <- filterPmat(testMatrix))
``` |

BioQC documentation built on Nov. 1, 2018, 2:12 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.