source("gc.r")
| DATAFILE= | The name of the data file. (required). |
|---|---|
| COVFILE= | The name of the covariate file. (optional). |
| MODEL= | list of models to test. The models for testing are specified using integers relating to the position of the loci in the data file. Two types of models can be specified: "marginal models" (Y = beta_0 + beta_1 X_1 + error) and "interaction models" (Y = beta_0 + beta_1 X_1 + beta_2 X_2 + beta_3 X_1*X_2 + error). To fit marginal models, the loci under investigation can be indicated either by a string of integers, separated by commas, or by the "-" character for a consecutive string of integers (e.g., 1,5,20-40). Interaction models are specified by using the ":" character, and are comma delimited (e.g., 1:2,1:3,2:16). You may also use the "~" character to specify all pairwise models between two integers. For example, 4~6 is synonymous with 4:5,4:6,5:6. This shortcut makes it simple to specify that all possible interactions should be tested. You may only request either all marginal models or all interaction models for each run of the program. (required). |
| NULLLOCI= | The null loci to use in estimation of inflaction factor(s), separated by commas. Sequences of null loci may be specified using the "-" character. If this argument is not supplied for either program, then ALL loci will be used in the estimation of the inflation factor(s) by default. If NULLLOCI is 0, then the inflation factor is assumed to be 1. |
| MODELTYPE= | Response Type: =0 for binomial, =1 for gaussian. (required). |
| ALPHA= | Alpha Level (default=0.05) |
| COVLABEL= | The covariate file where labels for the covariates can be found, separated by commas (required if covariate file is supplied). |
| OUTMODEL= | An output filen to dump model output and summary statistics (required). |
| OUTNULL= | An output file to dump results from models used in estimating the inflation factor(s). This is ignored it NULLLOCI = 0. (optional) |
| TESTTYPE = | Which statistical test to use to calculate p-values. If 1, p-values are adjusted for uncertainty in the estimated effect of substructure. (This is equivalent to the old GCF program.) If 0, p-values are not adjusted. (This is equivalent to the old GC program.) The default is 0. |
DATAFILE=data.txt
COVFILE=cov.txt
MODEL=1~4,5:6
NULLLOCI=3-7
MODELTYPE=0
ALPHA=0.05
COVLABEL=bp,prev
OUTMODEL=modelout.txt
OUTNULL=nullout.txt
DATAFILE=data.txt
COVFILE=cov.txt
MODEL=1~4,5:6
MODELTYPE=0
ALPHA=0.05
COVLABEL=bp,prev
OUTMODEL=modelout.txt
OUTNULL=nullout.txt
0001 1 1 1 1 2 1 2 1 1 1 2 ... 2 2 2 2
0002 1 1 2 1 2 1 1 1 2 1 2 ... 1 1 1 1
...
0027 1 2 2 1 2 1 1 1 2 1 2 ... 1 1 1 2
0028 0 1 1 1 2 1 1 1 2 1 1 ... 1 1 1 2
0001 87 1
0002 23 1
...
0027 35 2
0028 77 1