interpolate.table: Convenience function that interpolates QTL mapping power...

Description Usage Arguments Examples

View source: R/CC_extra.R

Description

This function interpolates the QTL mapping power through interpolate.qtl.power() based on a results data frame of densely simulated power estimates in popuations with a single observation per strain.

Usage

1
2
interpolate.table(r1.results, num.replicates, strain.effect.size = NULL,
  n.alleles, use.window = TRUE)

Arguments

r1.results

Data frame of power estimates from simulations based on a single observation per strain. r1.dat and r1.damb.dat are included in SPARCC for this purpose.

num.replicates

The desired number of replicates for a hypothetical study in which to evaluate power.

strain.effect.size

DEFAULT: NULL. The desired proportion of variance due to background strain effect for hypothetical population in which power is evaluated.

n.alleles

The number of functional alleles for the simulated QTL.

use.window

DEFAULT: TRUE. Whether the interpolated powers are based on denser power estimates using a window around a locus or just the actual locus.

Examples

1

gkeele/sparcc documentation built on May 28, 2019, 5:43 a.m.