-
Added arguments to change the border colour and size of polygons. E.g.
basemap_border = TRUE
,basemap_border_col = "black"
,basemap_border_lwd = 0.1
. (#18) -
Added argument to not display site labels in structure plot (
display_site_labels = FALSE
). -
Changed R dependency to address issue #23.
- Add argument
site_labels_angle
to optionally change the angle of the site labels in admixture structure plots (#15). - Fix to #16 where the size of single-coloured pies (circles) were smaller than multi-coloured pies. This occured when the admixture file format 1 contained both fixed genotypes (0 and 1 for a cluster) and admixed genotypes (e.g. 0.5, 0.25, 0.25).
- Changed the default pie size when coordinate reference system is WGS 84 (EPSG:4326) to be more like the pie sizes of projected coordinate reference systems.
- Add argument
pie_border_col
to optionally change the colour of the pie segment borders.
- To comply with CRAN policy, the high resolution basemap originally distributed with mapmixture v1.1.1 has been replaced with the medium resolution basemap distributed with the
rnaturalearthdata
package, whichmapmixture
now imports as default for themapmixture()
function. See themapmixture
GitHub example page for the single line of code needed to import the high resolution basemap from thernaturalearthhires
package. - Added extra arguments to customise scatter plot site divider lines.
- Minor updates to documentation.
- First release on CRAN.