Class | Data Declaration command |
Name | read cases |
Arguments | <data file name>|inline [sex] [skip <lines_at_beginning>] |
Reads a file containing data for unrelated individuals. The individual ID in the first column of data is the only record identifier. Within Sib-pair, this leads to creation of a pedigree for each individual (same pedigree and individual ID). If consecutive duplicate IDs are present, this is dealt with by creation of a "family" comprised of the duplicate records, each with a new ID, generated by appending a "_2" to the original ID for the second record and so on. If the sex keyword is present then the second column of data is expected to be the sex. The skip keyword leads to the skipping past that number of lines at the beginning of the file.
Example:
read cases simple.dat
See also:
read pedigree | read Sib-pair pedigree file |
read linkage | read pre-Makeped pedigree file |
read ppd | read post-Makeped pedigree file |
<< (read ppd) | Up to index | >> (read hapmap) |