Class | Algebraic operators and function |
Name | "..." (quote) |
Arguments | <allele1>/<allele2>" |
Double quotes mark the contained text for special evaluation by the parser. A constant genotype is written as two numbers (1-999) or letters (a-zA-Z) separated by a slash and surrounded by quotes. Other quoted items are passed intact to be read, either as a reserved command or as a single Fortran real, so "1+3" is evaluated as 1000, and "1 1" as 11.
Example:
>> help "set ite" set ite|bur|emi{maximum MC|burn-in|EM iters} >> "a/a" + 1 => b/b >> a/a + 1 ERROR: token "a" not recognised. ERROR: problematic input at line 1: a/a + 1 # # Not a great idea # >> set loc "a a" qua >> lis Locus Type Position --------------- ---- ---------- a a q 6
<< (ito) | Up to index | >> (colon) |