find_max_snps: Find SNPs with Highest LOD

Description Usage Arguments

Description

Internal function for plot_scan2() and plot_genes2() to find SNPs with highest LOD score within genomic interval.

Usage

1
find_max_snps(snp_pos, snp_id, snp_lod, max_peak = NULL, haplo_peak_drop = NULL)

Arguments

snp_pos

Position of SNPs obtained from scan1info of scan1snpasso().

snp_id

SNP IDs obtained from scan1info of scan1snpasso().

snp_lod

SNP LOD scores obtained from scan1output of scan1snpasso().

max_peak

Numeric value in Mbps of the location of the haplotype's QTL peak. This can be obtained from max_scan1() 'pos' column.

haplo_peak_drop

A vector of length two containing the range of Mbps that have LOD scores within the QTL peak drop. This vector should be the output from lod_drop_rng().


duytpm16/qtl2utils documentation built on May 13, 2019, 6:08 p.m.