This is a help function to extract genotypes from an object read in with genDataRead (or loaded with genDataLoad).
showGen(data.in, design = "triad", n = 5, from, to, sex, markers = 1:5)
A table with genotypes extracted from 'data.in'.
The data read in by genDataRead.
The design used in the study - choose from:
triad - data includes genotypes of mother, father and child;
cc - classical case-control;
cc.triad - hybrid design: triads with cases and controls;
.
Number of rows to display or "all" (default: 5).
From which row to display (optional, default: from the first).
To which row to display (optional).
If the sex column is part of the phenotypic information, the user can choose based on one of the categories used in this column (optional); NB: this does not combine with the 'to' and 'from' arguments.
A vector specifying which markers to display or "all" (default: first 5); NB: the user can specify the markers by numbers or by their names.