get_peaks: Return the windows and the SNPs with the higest sginificance...

Description Usage Arguments Value

View source: R/get_peaks.R

Description

get_peaks() Return the windows and the SNPs with the higest scores

Usage

1
2
get_peaks(data_raw, data_sum, stat_col, score_col, score_th, window_s,
  greater = FALSE)

Arguments

data_raw:

data.table with every SNP position

data_sum:

data.table with the following columns: CHR, SNP, CM, POS, col_name

stat_col:

Name of the stat column

score_col:

Name of the score column

score_th:

double with the score thereshold

window_s:

integer with the size of the window used in the rolling statistics

greater:

BOOLEAN deafault TRUE

Value

data.table


jonataseduardo/diverdt documentation built on Aug. 19, 2019, 11:55 p.m.