pull.false.positive.prob: Calculate the probability of detecting any false QTL from...

Description Usage Arguments Examples

View source: R/CC_extra.R

Description

This function takes output genome scans from run.sim.scans() and calculates the probability that any false QTL are detected. 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 excluded

Usage

1
2
3
## S3 method for class 'false.positive.prob'
pull(sim.scans, thresh,
  window.mb = "chromosome")

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: "chromosome". 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. "chromosome" results in only the consideration of signals from off-site chromosomes.

Examples

1

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