GvsA | R Documentation |
Plot marker-based vs. pedigree-based additive relationship coefficients
GvsA(
parentage,
G,
A,
filename = NULL,
thresh.G = Inf,
thresh.A = 0.5,
Gmax = NULL,
Amax = NULL
)
parentage |
Data frame of individuals to plot, with 3 columns: id,mother,father |
G |
Genomic relationship matrix |
A |
Pedigree relationship matrix |
filename |
Name of PDF file to save the results (optional for one individual) |
thresh.G |
Threshold above which names are displayed (default Inf) |
thresh.A |
Threshold above which names are displayed (default 0.5) |
Gmax |
Upper limit for y-axis for plotting. If NULL, maximum value in G is used. |
Amax |
Upper limit for x-axis for plotting. If NULL, maximum value in A is used. |
Useful for finding and correcting pedigree errors. If the G or A coefficient for an individual exceeds the threshold, its name is displayed in the figure. If parentage contains one individual, by default a ggplot2 variable will be returned, but the result can also be written to file. If multiple individuals are present, a filename is required.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.