powerCurves {TrumpetPlots} | R Documentation |
Power Curves for Trumpet Plots
Description
This function generates curves indicating statistical power in Trumpet plots
Usage
powerCurves(threshold = 0.8, N = 4e+05, alpha = 5e-08, Nfreq = 500)
Arguments
threshold |
user-specified power level |
N |
sample size |
alpha |
significance threshold |
Nfreq |
Number of allele frequency data points generated to calculate the power curves |
Value
A data frame with the power estimated for each allele frequency and effect size, given a: Statistical power threshold, significance threshold (alpha value), and sample size
Examples
powerCurves(threshold = 0.8, N=400000, alpha = 5e-8)
[Package TrumpetPlots version 0.0.1.1 Index]