plot_pubmatrix_heatmap() and pubmatrix_heatmap() now plot raw co-occurrence counts by default, and take a new values argument to choose otherwise. Earlier versions always plotted a percentage the docs called intersection / union * 100, but the totals in that formula were row and column sums of whatever matrix you passed in, not the publication counts for each term on its own. Adding an unrelated term changed the number shown in every other cell. The old calculation is still there as values = "relative", now documented with that caveat. values = "row_pct" divides each count by its row total.PubMatrix() no longer drops columns when A repeats a term, or rows when B does. Duplicates now raise an error, and the result matrix is filled positionally instead of by name.# separator on the first or last line now gives an error that names the file instead of complaining about missing terms.PubMatrixR.min_interval to override.PubMatrixR.n_tries) is now 3. Both options are documented.usehistory=y and set retmax=0, so responses no longer carry PMIDs the package never looks at.Config/testthat/edition: 3.PubMatrix() to use XML parsing via xml2::read_xml() with
internal helpers for count extraction, retry handling, and date-range
validation.B
and columns from A, with safer URL encoding for API queries and exported
hyperlinks.PubMatrix() and offline fixture-based XML parser tests.Rplots.pdf
during checks.Version: 1.0.0,
removed biocViews, cleaned imports/suggests, and refreshed LICENSE).README.md, Rd files, and
inst/CITATION to match current behavior and examples..Rbuildignore to exclude local development and check artifacts.doc/ artifacts and the bundled
pubmatrix-app Shiny subproject files from the package source tree.PubMatrix.R implementation and related packaging
files during refactoring.pubmatrix-app) and deployment
metadata..ods) export support for result output.Relevant commits include 5618668, 3c10f5d, fbc4846, 1c52679,
26e6597, 591d458, and 80699aa.