View source: R/write_haplotypes.R
plot.onemap_progeny_haplotypes | R Documentation |
Figure is generated with the haplotypes for each selected individual. As a representation, the recombination breakpoints are here considered to be in the mean point of the distance between two markers. It is important to highlight that it did not reflects the exact breakpoint position, specially if the genetic map have low resolution.
## S3 method for class 'onemap_progeny_haplotypes' plot( x, col = NULL, position = "stack", show_markers = TRUE, main = "Genotypes", ncol = 4, ... )
x |
object of class onemap_progeny_haplotypes |
col |
Color of parents' homologous. |
position |
"split" or "stack"; if "split" (default) the alleles' are plotted separately. if "stack" the parents' alleles are plotted together. |
show_markers |
logical; if |
main |
An overall title for the plot; default is |
ncol |
number of columns of the facet_wrap |
... |
currently ignored |
a ggplot graphic
Getulio Caixeta Ferreira, getulio.caifer@gmail.com
Cristiane Taniguti, chtaniguti@tamu.edu
data("onemap_example_out") twopts <- rf_2pts(onemap_example_out) lg1 <- make_seq(twopts, 1:5) lg1.map <- map(lg1) plot(progeny_haplotypes(lg1.map))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.