Skip to content

Display percent variance in PCA plot #680

Open

Description

@dominikburri

Is your feature request related to a problem? Please describe.

It would be great to include the percentage of variance of each PC in the ReducedDimPlot

Describe the solution you'd like

The attribute is with percent variance is normally available as attr(,"percentVar").
Read out the value and add it to the axis labels.

Describe alternatives you've considered

Display the attributes in a separate panel.

Activity

  1. kevinrue commented on Oct 31, 2024

    @kevinrue
    Member

    Good point.

    We can always check first whether the attribute is there, to avoid errors in case the PCA result was saved without that attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions