scan1_summary: Summary of scan1 result

View source: R/scan1_summary.R

scan1_summaryR Documentation

Summary of scan1 result

Description

Summary of scan1 result

Usage

scan1_summary(scan1_data, thresh = NULL, chrom = NULL, position = "cM")

Arguments

scan1_data

output from scan1

thresh

optional -deltaDIC threshold for plotting

chrom

optional, subset of chromosomes to plot

position

Either "cM" (default) or "bp"

Details

Plots the "score" (-deltaDIC) for each marker vs. genome position. The thresh argument should be a positive number.

Value

List containing

peaks

data frame of markers with the highest score on each chromosome

plot

ggplot object

Examples

## Not run: 
  scan1_summary( scan1_example )
  scan1_summary( scan1_example, chrom = "10" )
  scan1_summary( scan1_example, chrom = c( "10", "12" ) ) 
  scan1_summary( scan1_example, chrom = "10", thresh = 20)
  
## End(Not run)

jendelman/diaQTL documentation built on Jan. 27, 2024, 6:39 a.m.