Skip to content

error autoplot #39

Description

@anke-king

I keep getting the same error when trying to use the plotting function:

Error:
! Problem while setting up geom aesthetics.
ℹ Error occurred in the 1st layer.
Caused by error in check_aesthetics():
! Aesthetics must be either length 1 or the same as the data (12).
✖ Fix the following mappings: tooltip_fill and hover_nearest.
Run rlang::last_trace() to see where the error occurred.

I tried to specify tooltip_fill and hover_nearest myself (eg with SampleID) however, then I always get this error:
Error:
! Problem while computing aesthetics.
ℹ Error occurred in the 6th layer.
Caused by error in FUN():
! object 'Sample ID' not found
Run rlang::last_trace() to see where the error occurred.

I followed your tutorial step by step so I don't know what the problem is.

Activity

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