Description Usage Arguments Details Author(s) See Also Examples
For each pair of CASE and CONTROL files, combine them into one file. Last column of each output file will contain the disease status. The disease status is encoded as 1 for CASE and 0 for CONTROL.
1 2 3 | pre4.combine.case.control.batch(dir.file, dir.out = dir.file, prefix.case,
prefix.control, prefix.out, key.case = "", key.control = "",
ending.case = ".mlgeno", ending.control = ".mlgeno", separ = " ")
|
dir.file |
The name of directory where CASE and CONTROL files can be found. |
dir.out |
The name of directory to which output file should be written. |
prefix.case |
The beginning of the file name for the CASE file (up until chrom number). |
prefix.control |
The beginning of the file name for the CONTROL file (up until chrom number). |
prefix.out |
The beginning of the file name for the output file (up until chrom number). |
key.case |
Any keyword in the name of the CASE file that distinguishes it from other files. |
key.control |
Any keyword in the name of the CONTROL file that distinguishes it from other files. |
ending.case |
The ending of the CASE filename. |
ending.control |
The ending of the CONTROL filename. |
separ |
The separator used in the CASE and CONTROL input files. |
The function combines CASE and CONTROL together, attaching disease status as the last column: 1 for CASE and 0 for CONTROL. There will be two output files for each pair of CASE and CONTROL:
1 2 3 4 |
Olia Vesselova
pre3.call.mach
, pre3.call.mach.batch
,
pre4.combine.case.control
, pre5.genos2numeric
,
pre5.genos2numeric.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.