showGen | R Documentation |
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)
data.in |
The data read in by genDataRead. |
design |
The design used in the study - choose from:
. |
n |
Number of rows to display or "all" (default: 5). |
from |
From which row to display (optional, default: from the first). |
to |
To which row to display (optional). |
sex |
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. |
markers |
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. |
A table with genotypes extracted from 'data.in'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.