pull.power: Calculate the QTL mapping power from SPARCC genome scans...

Description Usage Arguments Examples

View source: R/CC_extra.R

Description

This function takes output genome scans from run.sim.scans() and calculates the power to map the simulated QTL. A window around the QTL can be specified to allow peaks not immediately at the simulated locus but likely tagging the QTL to also be included.

Usage

1
2
## S3 method for class 'power'
pull(sim.scans, thresh, window.mb = 5)

Arguments

sim.scans

Output simulated genome scans from run.sim.scans().

thresh

A list of threshold, calculated from get.gev.thresh(), that correspond to the scans in sim.scans.

window.mb

DEFAULT: 5. Loci upstream and downstream the specified window.mb in Mb will also be checked for statistically significant signals. Sometimes the statistical score will not pass at the simulated QTL, but does at nearby loci.

Examples

1

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