Description Usage Arguments Details Value Author(s) Examples
The function piggybacks the plot function for pedigree objects from the kinship2 package to create a plotting function for FamiliasPedigree objects. Before conversion to a pedigree object, additional parents are added to the pedigree so that each person has either zero or two parents within the pedigree.
1 2 |
x |
An object of class FamiliasPedigree |
y |
Not used in this printing function |
... |
Other arguments are transferred to the plot.pedigree function of the kinship2 package. |
Graphical parameters used in the plot.pedigree function may be input via the plot.FamiliasPedigree function.
A plot is produced.
Petter Mostad mostad@chalmers.se
1 2 3 4 5 6 7 8 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
ped <- FamiliasPedigree(id = c("child", "AF"), momid = c(NA, NA),
dadid = c("AF", NA), sex = c("male", "male"))
plot(ped)
dev.new()
plot(ped, symbolsize = 2, cex = 2, family = "mono")
|
Loading required package: kinship2
Loading required package: Matrix
Loading required package: quadprog
Loading required package: paramlink
Loading required package: Rsolnp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.