3rd CRAN release, massive naming style normalization
2019-04-10 - popkin 1.2.0.9000
- Renamed functions to fit tidyverse naming style:
inbrDiag->inbr_diagneff->n_effplotPopkin->plot_popkinrescalePopkin->rescale_popkinweightsSubpops->weights_subpops- Several argument names were also updated to be more descriptive (particularly in
plot_popkin). - Functions with old names remain for now as deprecated functions (to be removed in the future); only
plotPopkinretains the older argument names.
inbr_diagnow accepts lists of kinship matrices to transform (for easier plotting of multiple matrices).plot_popkinnow requires its non-NULL inputs to be proper kinship matrices.
Previously, the code used to somewhat allow for non-square matrices to be visualized, but this case had no guarantees to work.
The code is cleaner under the assumption of symmetric square matrices.- Added more input checks to functions, informative error messages.
- Added functions:
validate_kinship,mean_kinship
2019-04-24 - popkin 1.2.1.9000
plot_popkin bug fixes and enhancements!
plot_popkinnow resets graphical parameters when done and after every panel as needed.- Fixed a bug where panel margins were not reset per panel.
In particular, after setting custom margins for one panel, butNULL(default) for subsequent panels, the original margins were not reset (instead, the last values were incorrectly propagated). - The entire layout (all original
parvalues) is now reset after plotting is complete. - Updated documentation to reflect new behavior.
- Fixed a bug where panel margins were not reset per panel.
- Can now have letters on single-panel plots as long as a single letter is passed to
plot_popkinoptionpanel_letters(default is A-Z, so the default remains to not show letters for a single panel). - Added
leg_cexoption toplot_popkin.
2019-05-13 - popkin 1.2.2
- Third CRAN submission.
- Added ORCIDs to authors.
- Added back to
popkinfunction the deprecated parameter nameslociOnColsandmemLimalongside the new names, to prevent breaking existing code (generate warnings).