Description Usage Arguments Details Value
Calculate the number of type 1 (false positive) and type 2 (false negative) errors in an analysis.
1 | calculate_error_types(causal, significant, bonferroni, analysis_name)
|
causal |
column in dataset denoting causal SNPs. |
significant |
column in dataset denoting which SNPs are significant. |
bonferroni |
column in dataset denoting which SNPs are significant with Bonferroni correction. |
analysis_name |
name of the analysis. |
To use this function, the user must run any test with analysis_association()
and use load_results()
to merge this with beta.txt
from the
simulation. Then, augment_results()
needs to be run in order to obtain
columns for information on which SNPs are causal, significant, and significant
with Bonferroni correction.
The standard significance level refers to the one used in
augment_results()
.
A tibble containing the number of true positives, false positives, false negatives and true negatives with each of the significance levels having their own row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.