run_exwas_sdq_confounders: Runs ExWAS for one SDQ score at a time and a confounder

Description Usage Arguments Examples

Description

Each SDQ score will be regressed on a cohort only or cohort plus other confounder

Usage

1
run_exwas_sdq_confounders(input_data, sdq, covariates_list, file_name)

Arguments

input_data

An imputed dataset ('mids' object)

sdq

A string indicating which SDQ score will be analysed: "h_sdq_external" or "h_sdq_internal"

covariates_list

A string vector containing names of covariates to be modeled

file_name

Name under which the result will be saved (.csv)

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x)
{
  }

groovearmada/exwas documentation built on May 29, 2019, 12:02 a.m.