single.sim.plot: Plots a single simulated scan. Built on...

Description Usage Arguments Examples

View source: R/CC_plot.R

Description

This function takes the output from run.sim.scans(), and plots a single genome scane of a simulated phenotype.

Usage

1
2
single.sim.plot(sim.scans, phenotype.index = 1, scale = c("Mb", "cM"),
  thresh = NULL, ...)

Arguments

sim.scans

Genome scans of simulated data, output by run.sim.scans().

phenotype.index

DEFAULT: 1. The index of the simulated phenotype to plot. Cannot exceed the number of phenotypes contained in sim.scans.

scale

DEFAULT: "Mb". The scale in which to plot genomic position. "cM" is the other option.

thresh

DEFAULT: NULL. If NULL, no significance is threshold is plotted. Expects a numeric value, commonly output from get.gev.thresholds() based on permutation scans.

Examples

1

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