Description Usage Arguments Value Author(s) See Also 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.
1 2 3 4 5 6 7 8 9 10 11 | ## S4 method for signature 'Enrichment'
reSample(object, nSample = 100,
empiricPvalue = TRUE,
MAFpool = c(0.05, 0.10, 0.2, 0.3, 0.4, 0.5),
mc.cores = 1, onlyGenome = TRUE)
## S4 method for signature 'Chromosome'
reSample(object, nSample = 100,
empiricPvalue = TRUE, sigThresh = 0.05,
MAFpool = c(0.05, 0.10, 0.2, 0.3, 0.4, 0.5),
mc.cores = 1)
|
object |
[Enrichment or Chromosome]: an object to be updated. It is intended, an object returned by the |
nSample |
[numeric]: the number of resampling done by |
empiricPvalue |
[logical]: |
sigThresh |
[numeric]: statistical threshold for signal (e.g. |
MAFpool |
[vector(numeric)]: either a numeric vector giving the breaks points of intervals into which SNP's MAF (Minor Allele Frequency) is to be split. |
mc.cores |
[numeric]: the number of cores to use (default is |
onlyGenome |
[logical]: |
Return the object given in argument, updated by the resampling results.
Mickael Canouil mickael.canouil@good.ibl.fr
Overview : snpEnrichment-package
Classes : Enrichment
, Chromosome
, EnrichSNP
Methods : plot
, reSample
, getEnrichSNP
, excludeSNP
, compareEnrichment
,
enrichment
, is.enrichment
, chromosome
, is.chromosome
Functions : initFiles
, writeLD
, readEnrichment
1 2 3 4 5 6 7 8 | ## Not run: 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
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.