interpolate.qtl.distance: Interpolates QTL location error for sample populations with...

Description Usage Arguments Examples

View source: R/CC_extra.R

Description

This function interpolates the QTL location error for an experimental mapping population with replicates based on dense simulated power results in simulations with only a single observation per strain.

Usage

1
2
3
interpolate.qtl.distance(r1.results, qtl.effect.sizes,
  strain.effect.sizes = 0, num.replicates, n.alleles, n.strains,
  n.mean.pseudo = 10)

Arguments

r1.results

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

qtl.effect.sizes

The desired QTL effect sizes for which power estimates will be interpolated from dense single observation results.

strain.effect.sizes

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

num.replicates

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

n.alleles

The number of functional alleles for the simulated QTL.

n.strains

The number of CC strains for the desired interpolated power estimate.

n.mean.psuedo

DEFAULT: 10. The number of psuedo observations (of 2.5) to be used for regularization.

Examples

1

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