Skip to content

Added plotXY to re-use scater's aesthetics for arbitrary x/y plots.#223

Merged
alanocallaghan merged 1 commit into
develfrom
xy
Jan 12, 2026
Merged

Added plotXY to re-use scater's aesthetics for arbitrary x/y plots.#223
alanocallaghan merged 1 commit into
develfrom
xy

Conversation

@LTLA

@LTLA LTLA commented Jan 8, 2026

Copy link
Copy Markdown
Collaborator

Again useful for some workflows where you have some unassociated X/Y coordinates and you want to create a scater-style workflow without mocking up an SCE to run, e.g., plotColData().

As an aside, the documentation for some of the newer functionality in .central_plotter could probably be pushed from plotColData to scater-plot-args if it's shared across multiple plotting functions, it would save the effort of redocumenting them in each one. Even the overview of the types of plots (violin, grouped violin, scatter, etc.) could probably be moved there.

This reduces the hassle of re-assembling the ggplot2 calls manually.
@alanocallaghan

Copy link
Copy Markdown
Owner

Looks good thanks. Re: docs, I'd be more inclined to liberally apply @inheritParams and the like but I'm not really au fait with what's shared and duplicated at the moment to make those changes

@alanocallaghan alanocallaghan merged commit 193f75e into devel Jan 12, 2026
2 checks passed
@alanocallaghan alanocallaghan deleted the xy branch January 12, 2026 14:43
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.

2 participants