|Class||Analysis and data manipulation command|
|Arguments|| [<file_of_IDs>] |
[file] <file_of_IDs> [<col1> [<col2>]] | |
<pedigree_ID> <individual_ID> |
id <individual_ID> |
show [loci]| delete | size <percent_table_size>]
Sets up, show, deletes or utilizes a hashed index for searching out IDs. Does not allow use of wild cards cf print.
If the single argument is a file name, each line in the file is expected to contain a pedigree and individual ID as the first two words, or just an individual ID as the single field. These will be searched for in the current dataset. Increasing the plevel gives lists of unmatched and matched IDs. To mark intersecting records, one could use update to update an indicator variable. The matched records can be found using the chosen variable. see
If the file keyword is present, then the same operations are performed, except that the column or columns of the file that represent the pedigree and id or just id can be added.
If two arguments are given, these are taken to be a pedigree and individual ID to be searched for, while id followed by a single argument is taken to be an individual ID to be searched for.
The show, delete, and size are for tuning, and will not be needed for ordinary use.
>> include cavanaughex.in >> hash 6i 5 Record 229 6i--5 found after 1 comparisons. >> out test.list >> print ped 6i >> out >> hash test.list Read in 8 records. Number of ID matches = 7 (0.8750) Prop of current dataset = 0.0303
|update||update data from phenotype file|
|<< (unique_id)||Up to index||>> (print)|