plot_sdp: plot strain distribution patterns for SNPs

Description Usage Arguments Details Value See Also Examples

View source: R/plot_sdp.R

Description

plot the strain distribution patterns of SNPs using tracks of tick-marks for each founder strain

Usage

1
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

calc_sdp(), invert_sdp()

Examples

1
2
n_tick <- 50
plot_sdp(runif(n_tick, 0, 100), sample(0:255, n_tick, replace=TRUE))

qtl2 documentation built on Oct. 18, 2021, 1:06 a.m.