power.eqtl: Wrapper funtion to use either simulated power or power based...

View source: R/power.R

power.eqtlR Documentation

Wrapper funtion to use either simulated power or power based on F-test (dependent on pseudobulk mean and used parameters)

Description

Wrapper funtion to use either simulated power or power based on F-test (dependent on pseudobulk mean and used parameters)

Usage

power.eqtl(
  count.mean,
  heritability,
  sig.level,
  nSamples,
  useSimulatedPower = TRUE,
  simThreshold = 4
)

Arguments

count.mean

Expression mean in the pseudobulk

heritability

Heritability of the trait

sig.level

Significane threshold

nSamples

Sample size

useSimulatedPower

Option to simulate eQTL power for small mean values to increase accuracy

simThreshold

Threshold until which the simulated power is taken instead of the analytic

Value

Power to detect the eQTL gene


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