calc_lod_peaks_for_annot: Get all the peaks for an id.

View source: R/calc-lod-peaks-for-annot.R

calc_lod_peaks_for_annotR Documentation

Get all the peaks for an id.

Description

Get all the peaks for an id.

Usage

calc_lod_peaks_for_annot(
  dataset,
  id,
  threshold = 6,
  peakdrop = 2,
  thresholdX = 6,
  peakdropX = 2,
  n_cores = 0,
  calc_diff = FALSE
)

Arguments

dataset

the dataset object

id

the unique id in the dataset

threshold

if set, qtl2::find_peaks is used

peakdrop

if set, qtl2::find_peaks is used

thresholdX

if set, qtl2::find_peaks is used

peakdropX

if set, qtl2::find_peaks is used

n_cores

number of cores to use (0=ALL)

calc_diff

compute the difference between additive and covariate

Value

a tibble of the peaks.


churchill-lab/qtl2api documentation built on April 17, 2025, 3:27 a.m.