Description Usage Arguments Examples
This function plots a pedigree showing colored by relatedness and survival status with labels indivating age and locations of living pedigree members.
1 2 | plot_pedigree(id, evdat, df_ind, ped = NULL, evmat, label = NULL,
cex = 0.6, chrtype = "autosome")
|
id |
Individual ID |
evdat |
Dates of interest in the Year-month-day format (e.g. "1850-01-01") |
df_ind |
A dataframe |
ped |
An optional pedgree object related to id. Will be generated, if not provided. |
evmat |
Event matrix |
label |
optional vector of labels to add to pedigree members |
cex |
size of text and symbols |
chrtype |
Chromosme type for relatedness calculation (either 'autosome' or 'X') |
1 2 3 4 5 | ## Not run:
plot_pedigree(40, "1850-01-01", df_ind, evmat=evmat)
detach(kh33::kh)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.