run_exwas_cohort_left: Sensitivity analysis stratified by cohort

Description Usage Arguments Examples

View source: R/run_exwas_cohort_left.R

Description

Run ExWAS for complete mids long format (stacked) imputed dataset stratified by cohort (one cohort is left in the analysis). BiB cohort is not analysed as the sample size is too small

Usage

1
run_exwas_cohort_left(input_data, variable_list, sdq, subcohort)

Arguments

input_data

'mids' object imputed dataset

variable_list

A character vector containing a list of exposures for wich regressions will be run

sdq

A character vector indicating in the outcome SDQ score is external or internal

subcohort

A character vector specifying stratification to be made (one cohort left)

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.