gwas_lmer_modeling: LMER Modeling Function

View source: R/gwas_lmer_modeling.r

gwas_lmer_modelingR Documentation

LMER Modeling Function

Description

This function is designed to run 'lmer' models on data partition. It takes a formula based on variables that are set in function 'phonotype_gwas_partitioner' (clinical and PCA variables). To set WGS in the 'lmer' formula, use 'copy_number' term.

Usage

gwas_lmer_modeling(data_path, simulation_name, formula, save_model_path)

Arguments

data_path

the path of partition data

simulation_name

when save output models, is used in name of save model file.

formula

Character variable for 'lmer' formula.

save_model_path

The directory of saving model outout.


Hardy-Lab-Statistical-Genetics/HLSGUtils documentation built on March 29, 2022, 10:09 p.m.