format_twostep_data: format_twostep_data

Description Usage Arguments Value

View source: R/plots.R

Description

Function to format step 1 (arrange by p value) — assume data is the gxe object from GxEScanR

Usage

1
format_twostep_data(dat, stats_step1, sizeBin0, alpha)

Arguments

dat

Input data

stats_step1

Step1 chiSq statistic

sizeBin0

Size of initial bin (this value needs to be power optimized)

alpha

Overall alpha level

Value

A DATA.TABLE (!) - mainly because the code I copied pasted used a dt. Contains bin number, bin logp threshold, normalized X axis information for plotting.


KimAE/figifs documentation built on March 10, 2021, 9:31 p.m.