The list to describe the covariate and outcome data for runPermutations
The format is a list:
Covariate data file. This file must have variable names, two
of which being an id variable and a response variable (see
id.var
and response.var
).
No default.
Name of the id variable. No default.
Name of the response variable. For logistic regression analyses, this variable must be coded as 0 (control) and 1 (case). No default.
Character vector of variables names for variables in file
that will be included in the model as main effects.
The default is NULL.
The delimiter in file
.
The default is "".
Vector of character strings to define the missing values. This option
corresponds to the option na.strings
in read.table
.
The default is "NA".
In this list, file
, id.var
, and response.var
must be specified.
The variable id.var
is the link between the covariate data and the genotype data.
For each subject id, there must be the same subject id in the genotype data for that subject
to be included in tha analysis.
Missing data: If any of the variables defined in main.vars
, int.vars
,
or response.var
contain missing values, then those subjects
will be removed from the covariate and outcome data. After the subjects with missing values
are removed, the subject ids are matched with the genotype data.