Description Usage Arguments Author(s) See Also Examples
Uses Linux functions to append confounding variables listed in file.conf
to the end of the file.name
, right before the disease status (last) column. The output will contain only the patients for which confounding variables exist (other patients will be omitted), so new family file will be written. This function is similar to pre7.add.conf.var
, only it avoids having to load up into memory the file.name
(since this file can be very large).
1 2 | pre7.add.conf.var.unix(file.name, dir.file, file.fam, dir.fam = dir.file,
file.conf, dir.conf = dir.file, file.out, fam.out = file.fam, dir.out)
|
file.name |
The name of the data file. The format of this file should have last column as the disease status, tab separated, no header. |
dir.file |
The name of directory where |
file.fam |
The name of the family file. Format: one column - one patient ID per line. |
dir.fam |
The name of directory where |
file.conf |
The name of the file that contains confounding variable information. The file should be in the following format: patientID1 1 2 ... patientID2 3 1 ... patientID3 2 2 ... ... - Column 1: patient ID, exactly the same names should appear in file.fam; * order does not matter; * some patients may be missing; * no new patients should appear in file.conf (if they don't exist in file.fam) - Column 2: the confounding variable must have no more than 3 different values. - Other columns are optional, may be included if there are more confounding variables (3 categories each) - No header - Tab separated - No missings or NAs |
dir.conf |
The name of directory where |
file.out |
The name of the output file, which will contain all information of |
fam.out |
The name of the family output file. |
dir.out |
The name of directory to which |
Olia Vesselova
pre7.add.conf.var
, pre6.merge.genos
,
pre8.split.train.test
, pre8.split.train.test.batch
1 | print("See the demo 'gendemo'.")
|
[1] "See the demo 'gendemo'."
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.