draw_map2 | R Documentation |
Provides a simple draw of a linkage map.
draw_map2( ..., tag = NULL, id = TRUE, pos = TRUE, cex.label = NULL, main = NULL, group.names = NULL, centered = FALSE, y.axis = TRUE, space = NULL, col.group = NULL, col.mark = NULL, col.tag = NULL, output = NULL, verbose = TRUE )
... |
map(s). Object(s) of class |
tag |
name(s) of the marker(s) to highlight. If "all", all markers will be highlighted. Default is |
id |
logical. If |
pos |
logical. If |
cex.label |
the magnification used for label(s) of tagged marker(s). If |
main |
an overall title for the plot. Default is |
group.names |
name(s) to identify the group(s). If |
centered |
logical. If |
y.axis |
logical. If |
space |
numerical. Spacing between groups. If |
col.group |
the color used for group(s). |
col.mark |
the color used for marker(s). |
col.tag |
the color used for highlighted marker(s) and its/theirs label(s). |
output |
the name of the output file. The file format can be specified by adding its extension. Available formats: 'bmp', 'jpeg', 'png', 'tiff', 'pdf' and 'eps' (default). |
verbose |
If |
ggplot graphic with genetic map draw
Getulio Caixeta Ferreira, getulio.caifer@gmail.com
data("onemap_example_out") twopt <- rf_2pts(onemap_example_out) lg<-group(make_seq(twopt, "all")) seq1<-make_seq(order_seq(input.seq= make_seq(lg,1),twopt.alg = "rcd"), "force") seq2<-make_seq(order_seq(input.seq= make_seq(lg,2),twopt.alg = "rcd"), "force") seq3<-make_seq(order_seq(input.seq= make_seq(lg,3),twopt.alg = "rcd"), "force") draw_map2(seq1,seq2,seq3,tag = c("M1","M2","M3","M4","M5"), output = paste0(tempfile(), ".png"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.