| plotPedigree | R Documentation |
This function generates pedigree plots to visualize variant information and individual genotypes.
plotPedigree(
variant.list,
pedigree.data,
includeIDs,
gene.name = NULL,
save.path = NULL,
savePNG = FALSE,
frequency.col = c("ExAC_All", "X1000G_ALL"),
label = "test"
)
variant.list |
Filtered variant list from ?filter.variant() |
pedigree.data |
Pedigree data load from excel sheet. check ?kinship2::pedigree() for correct format. |
includeIDs |
IDs of the subjects included for analyses. This must match IDs used in the imported data file.If left empty, IDs will be extracted from the first to the last |
gene.name |
specify the list of genes in which the variants are to be visualized in the pedigree plots |
save.path |
Specify save path. If not specified the data will be saved at the working directory. |
frequency.col |
Column names of the frequencies to be visualized in pedigree plot. For example: frequency.col = c("ExAC_All", "X1000G_ALL", "ExAC_NFE", "X1000G_EUR") |
label |
Specify the label of the folder to save the files. |
Pedigree plot saved as PNG files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.