Skip to content

Add legacy argument compatibility#173

Open
hurry060215-tech wants to merge 1 commit into
junjunlab:mainfrom
hurry060215-tech:codex/legacy-argument-compat
Open

Add legacy argument compatibility#173
hurry060215-tech wants to merge 1 commit into
junjunlab:mainfrom
hurry060215-tech:codex/legacy-argument-compat

Conversation

@hurry060215-tech

Copy link
Copy Markdown

Summary

Adds a small compatibility layer for legacy argument names that are still used in older examples and issue reports.

  • maps getClusters(exp = ...) to obj
  • maps clusterData(exp = ..., cluster.method = ..., cluster.num = ...) to the current argument names
  • maps common old visCluster() dotted arguments such as plot.type, markGenes.side, annoTerm.data, line.side, cluster.order, go.col, and add.bar
  • filters show_column_names / show_row_names before forwarding arguments to ComplexHeatmap::Heatmap() to avoid duplicate-argument errors

This addresses the legacy-argument failures discussed in issues #160, #167, #168, #169, #170, and #171.

Validation

  • Rscript -e "setwd('ClusterGVis'); devtools::load_all('.'); testthat::test_dir('tests/testthat')"
    • Result: 0 failures, 21 passes
    • Existing warnings remain for deprecated test helpers (ggplot2::is.ggplot() and testthat::expect_is()).

R CMD check .\\ClusterGVis --no-manual --no-build-vignettes was also attempted, but it stops before running code because the current DESCRIPTION is missing generated Author / Maintainer fields from the checker perspective. That metadata issue appears unrelated to this change.

@hurry060215-tech hurry060215-tech changed the title [codex] Add legacy argument compatibility Add legacy argument compatibility Jun 18, 2026
@hurry060215-tech hurry060215-tech marked this pull request as ready for review June 18, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant