Skip to content

Standardize 2D PCA output figures across MOSuite function calls#2

Open
phoman14 wants to merge 15 commits into
mainfrom
FigOutSync
Open

Standardize 2D PCA output figures across MOSuite function calls#2
phoman14 wants to merge 15 commits into
mainfrom
FigOutSync

Conversation

@phoman14

@phoman14 phoman14 commented Jul 2, 2026

Copy link
Copy Markdown
Member

Summary

This PR aligns the 2D PCA capsule with the package-level figure standardization work. The intent is for 2D PCA figures produced from this capsule to match figures produced by plot_pca_2d() and by MOSuite workflow functions that emit 2D PCA plots.

Changes

  • Use the same default color palette as the MOSuite package for 2D PCA outputs.
  • Document that random colors are used only as a fallback when the selected or provided palette has too few colors.
  • Keep capsule parameter descriptions focused on the user-facing defaults.
  • Update CHANGELOG.md for the user-facing default changes.

Validation: local capsule tests passed (PASS 11).

Issues

No linked issue.

PR Checklist

(Strikethrough any points that are not applicable.)

  • This comment contains a description of changes with justifications, with any relevant issues linked.
  • Run the capsule in Code Ocean and ensure it completes successfully with no errors. Local capsule tests passed.
  • Update CHANGELOG.md with a short description of any user-facing changes and reference the PR number. Follow the style described in https://style.tidyverse.org/news.html
  • The tests workflow succeeds on the latest commit.

@phoman14 phoman14 changed the title Align 2D PCA capsule plot defaults Standardize 2D PCA output figures across MOSuite function calls Jul 2, 2026
@phoman14 phoman14 requested a review from kelly-sovacool July 2, 2026 20:00
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