Revise CCcolors() to match the color palettes in R/qtl2.
In plot_crosslines(), lwd is applied to points() as well as
arrows() and segments().
match.arg() calls in sim_do_pedigree() and
sim_dof1_pedigree().Added dataset, mouseL_cox and mouseL_mgi, with mouse chromosome lengths in cM.
collapse_do_alleles() now removes any redudant crossovers (adjacent alleles that are the same.
In C++, avoid calling runif() with n=0, and require Rcpp 0.12.17 (regarding handling of random number generation)
Byte-compile the R code
Added palette argument to CCcolors(). Default is to return my
revised CC colors. CCcolors("orig") gives the original, official
colors.
The chrlength argument for plot_ind() can be a vector of length
2, in which case the two chromosomes will be different lengths but
aligned at the top. This is to allow illustratation of the X and Y
chromosomes in males.