Class | Algebraic operators and function |
Name | numtyp | anytyp | alltyp |
Arguments |
Show number of markers an individual is genotyped at, or indicate whether genotyped at any one or all marker loci.
Example:
>> set loc ntyp qua Creating new variable "ntyp". >> set loc atyp aff Creating new variable "atyp". >> ntyp=numtyp Operating on pedigree file Recoded 231 values. >> atyp = anytyp Operating on pedigree file Recoded 231 values. >> tab ntyp atyp ------------------------------------------------ Cross-tabulation of "ntyp" ... "atyp" ------------------------------------------------ atyp ntyp n y -------------------------- 0.00000 5 (1.00) 0 (.000) 1.00000 0 (.000) 2 (1.00) 2.00000 0 (.000) 3 (1.00) 3.00000 0 (.000) 3 (1.00) 4.00000 0 (.000) 3 (1.00) 5.00000 0 (.000) 2 (1.00) 6.00000 0 (.000) 8 (1.00) 7.00000 0 (.000) 22 (1.00) 8.00000 0 (.000) 183 (1.00)
Class | Algebraic operators and function |
Name | male | female | isfou | isnon |
Arguments |
Test sex or founder status of individual.
Example:
>> count male Count where "male": Pedigree Con=T Num ASPs Trios 4+ -------------- ----- ----- ----- ----- ----- Total 96 231 13 1 0 Number of matched persons = 96 out of 231 (41.6%) Number of matched pedigrees = 54 out of 54 (100.0%)
>> clear >> loc volgaex.in >> set loc nonfounder aff >> nonfounder = isnon >> keep nonfounder >> head ! p s n ! e e o ! d id fat mot x n ! AM 101 x x m n AM 102 x x f n AM 203 x x f n AM 201 101 102 m y AM 202 101 102 m y AM 204 101 102 m y AM 205 101 102 m y AM 206 101 102 m y AM 207 101 102 m y AM 208 101 102 m y
<< (marcom) | Up to index | >> (num) |