Description Usage Arguments Value Examples
View source: R/correct_pvalues.R
Apply multiple testing correction (FDR or Bonferroni) to model p-values for each position. If input is VRangesList, then pvalue correction will be done on a sample-by-sample basis. If input is VRanges, then pvalue correction will be done across all samples. For mutation calling in a narrow genomic range of specified hotspots, we recommend correcting across all samples. For mutation calling across all genomic positions sequenced, we recommend applying correction by sample.
1 | correct_pvalues(variant_calls, method = "bonferroni")
|
variant_calls |
|
method |
pvalue correction method to pass onto p.adjust |
This function returns a VRangesList
or VRanges
object with a new metadata column: corrected_pvalue
1 2 3 4 | ## Not run:
variants_corrected <- correct_pvalue(variant_calls = variants, method = 'bonferroni')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.