power_analysis: Performs estimates of power to detect effects of alleles at...

View source: R/genie_functions.R

power_analysisR Documentation

Performs estimates of power to detect effects of alleles at different read fractions, given the variance observed in the alignment_result replicates.

Description

Performs estimates of power to detect effects of alleles at different read fractions, given the variance observed in the alignment_result replicates.

Usage

power_analysis(alignment_result, allele_min_reads = 100, WT_fraction = NA)

Arguments

alignment_result

The result from alignment_analysis

allele_min_reads

The minimum number of reads that a deletion allele must have across all replicates to be included.

WT_fraction

If specified, then the model will assume this fraction of WT reads

Value

Returns...

See Also

alignment_analysis

power_plots

Examples

# Note: First run alignment_analysis()
# mul1_alignment_results is a pre-loaded result

pwr = power_analysis(mul1_alignment_results[[1]])
power_plots(mul1_alignment_results[[1]])

Jeremy37/rgenie documentation built on Sept. 22, 2023, 10:17 a.m.