plot_sdp | R Documentation |
plot the strain distribution patterns of SNPs using tracks of tick-marks for each founder strain
plot_sdp(pos, sdp, strain_labels = names(qtl2::CCcolors), ...)
pos |
vector of SNP positions |
sdp |
vector of strain distribution patterns (as integers) |
strain_labels |
names of the strains |
... |
additional graphic arguments |
Additional arguments, such as xlab
, ylab
, xlim
, and main
,
are passed via ...
; also bgcolor
to control the color of the
background, and col
and lwd
to control the color and thickness
of the tick marks.
None.
calc_sdp()
, invert_sdp()
n_tick <- 50
plot_sdp(runif(n_tick, 0, 100), sample(0:255, n_tick, replace=TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.