power.eqtl.simulated: Power calculation for an eQTL gene using simulations

View source: R/power.R

power.eqtl.simulatedR Documentation

Power calculation for an eQTL gene using simulations

Description

The eQTL power is independent of the mean except for very small mean values, where small effect sizes might not be detectable due to the discrete counts In these cases, the power can instead be simulated.

Usage

power.eqtl.simulated(
  count.mean,
  heritability,
  sig.level,
  nSamples,
  rep.times = 100
)

Arguments

count.mean

Expression mean in the pseudobulk

heritability

Heritability of the trait

sig.level

Significane threshold

nSamples

Sample size

rep.times

Number of repetitions used for the

Value

Power to detect the eQTL gene


heiniglab/scPower documentation built on Jan. 9, 2025, 12:13 p.m.