Description Arguments Value Examples
After initFiles and readEnrichment has been run. reSample computes a statistic value and a p-value for each chromosomes and for the whole genome.
object |
An object to be updated. It is intended, an object returned by the readEnrichment function. |
nSample |
The number of resampling done by reSample for p-values computation (minimum is |
empiricPvalue |
Compute PValue based on the null distribution ( |
sigThresh |
Statistical threshold for signal (e.g., |
MAFpool |
Either a numeric vector giving the breaks points of intervals into which SNP's MAF (Minor Allele Frequency) is to be split. |
onlyGenome |
Compute resampling step for all chromosomes (default |
Return the object given in argument, updated by the resampling results.
1 2 3 4 5 6 7 8 9 10 11 | if (interactive()) {
data(toyEnrichment)
reSample(
object = toyEnrichment,
nSample = 10,
empiricPvalue = TRUE,
MAFpool = c(0.05, 0.10, 0.2, 0.3, 0.4, 0.5),
onlyGenome = TRUE
)
toyEnrichment
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.