Description Usage Arguments Details Value Author(s) See Also Examples

Finding top, say, 100 p-values out of millions can be slow.
This function does it much faster than the usual application of
`order(pv)[1:N]`

.

1 | ```
findBestNpvs(pv, n)
``` |

`pv` |
Vector of p-values. |

`n` |
Number of best p-values to select. |

The function is a faster analog of `sort(order(pv)[1:N])`

Return a vector of positions of the smallest `N`

p-values in `pv`

.

Andrey A Shabalin [email protected]

See `order`

.

1 2 3 4 5 6 7 8 9 10 11 |

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.