plot_sdp {qtl2} | R Documentation |
plot strain distribution patterns for SNPs
Description
plot the strain distribution patterns of SNPs using tracks of tick-marks for each founder strain
Usage
plot_sdp(pos, sdp, strain_labels = names(qtl2::CCcolors), ...)
Arguments
pos |
vector of SNP positions |
sdp |
vector of strain distribution patterns (as integers) |
strain_labels |
names of the strains |
... |
additional graphic arguments |
Details
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.
Value
None.
See Also
Examples
n_tick <- 50
plot_sdp(runif(n_tick, 0, 100), sample(0:255, n_tick, replace=TRUE))
[Package qtl2 version 0.36 Index]