Plot objects created with
an object created with
additionnal arguments including possibly a vector of phenotypes
This function relies on the function
plot.pedigree provided by the package
The phenotype is build assuming that
x$pheno is a list of vectors, the first element
of which gives the status. Alternatively, a vector
pheno of appropriate length can be given
as an additionnal argument.
1 2 3 4 5 6 7 8 9
## cf Elston-Stewart vignette for more coments on this example data(conrad2) # creating an es.pedigree object genotypes <- c( rep(list(0:2), 21), 2 ) X <- es.pedigree( id = conrad2$id, father = conrad2$father, mother = conrad2$mother, sex = conrad2$sex, pheno = rep(0, 22), geno = genotypes ) plot(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.