-
plot_coef()
now takes an argumentlegend
to control addition of a legend. If NULL, no legend is included. Otherwise it indicates the placement of the legend (for example"topright"
or"bottomleft"
. There are hidden argumentslegend_lab
for labels andlegend_ncol
for the number of columns. -
plot_snpasso()
now takes aminlod
argument; points with LOD less than this value are omitted. -
plot_snpasso()
also takes agenes
argument. If provided, a two-panel plot is displayed with SNP association results above and gene locations below. -
plot_snpasso()
also takes alodcolumn
argument for selecting the column of LOD scores to plot. -
New (hidden) graphics paramater for
plot_scan1()
,altcol
, for having colors alternate between chromosomes, for the case of a Manhattan plot particular of SNP association results.
- Fixed
plot_snpasso()
so it can handle results for multiple chromosomes.
-
Added function
plot_genoprob()
for plotting a heat map of the genotype probabilities for a single individual on a single chromosome. -
Added function
plot_genoprobcomp()
for plotting a bivariate heat map comparing two sets of genotype probabilities for a single individual on a single chromosome. -
Added
swap_axes
argument toplot_onegeno()
(to have the option of chromosomes running horizontally rather than vertically) and toplot_pxg()
(to have the option of having genotypes on y-axis and phenotypes horizontally).
-
Throughout, changed arguments like
hlines.col
to use an underscore rather than a period:hlines_col
. -
Hid a bunch of graphics parameters, to be passed via
...
, so that the function definitions aren't so cluttered. -
For
plot_snpasso()
, changed argumentsdrop.hilit
andcol.hilit
todrop_hilit
andcol_hilit
for consistency with other functions' argument names.
- Added function
plot_pxg()
for plotting phenotypes versus genotype at a putative QTL.
- Added arguments to plot_genes to make it more flexible; in particular, to allow differences in column names and to allow start and stop positions to be in either bp or Mbp.
-
Added
plot_peaks()
, for plotting the locations (and optionally confidence intervals) of inferred QTL. -
Added
plot_onegeno()
for plotting the genome-wide genotypes for one individual.
- Ensure that
scan1()
output and the map are aligned.
- Revised installation instructions.
- Trap cases of the input
map
beingNULL
. This happens to me particularly when I trysome_cross$pmap
but the cross object doesn't contain a physical map.
- Fix bug in
plot_scan1
: need to importqtl2scan::subset_scan1
.
-
Refactored to deal with changes in data structures in qtl2geno and qtl2scan.
-
Most functions now need you to provide the map of markers/pseudomarkers, produced by
insert_pseudomarkers
. -
The
plot_snpasso
function requires thesnpinfo
as supplemented byindex_snps
(that is, with the information on which groups of SNPs are equivalent).