Provides pedigree plots for specified families generated from
simfam function with option to save plots into a pdf file or for dataframe containing required .
An object of class
List of family IDs to plot. Default is the first family in given data set.
Logical; if TRUE, pedigree plots are saved in a pdf file. If FALSE, plot pedigrees on current plotting device. Default is FALSE.
File name to save the pedigree plots; Default file name is "pedigreeplot.pdf".
Additional arguments passed on to the plot function.
x can be a data frame that contains
gender (1 for male, 0 for female),
status (1 for affected, 0 for non-affected),
mgene (1 for mutation carrier, 0 for non-carrier, NA for missing), and
proband (1 for proband, 0 for non-proband) and should have class attributes
class(x) <- c("simfam", "data.frame").
Optionally, the data frame can contain a column named
carrp.pheno to replace missing values in
mgene with their carrier probabilities.
Returns pedigree plots for specified families created by
simfam function or dataframe provided along with the affection and carrier mutation statuses of family members. Probands from each pedigree are indicated using red color.
When object inlcudes
carrp.pheno generated by
carrierprob function, the
plot function displays the carrier probabilities for those with missing carrier status.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.