Skip to content

Inconsistent polygon behaviour when including CP column #138

Description

@whelena

I'm plotting single-sample SRC results using the fish-plot + tree feature. The data frame input looks like:

parent label length.1 CP
5 1 8 0.865
4 14 37 0.560
5 4 11 0.990
1 7 48 0.860
NA MRCA 122 0.930

Output plot :
Screenshot 2024-08-28 at 3 48 55 PM
I think this output is because CP of node 4 is greater than MRCA. But, this is also inconsistent with different CPs

CP 4 = 0.93 ($CP_4 = CP_{MRCA}$)

Screenshot 2024-08-28 at 3 52 01 PM

CP 4 = 0.8

Screenshot 2024-08-28 at 3 49 19 PM

CP 4 = 0.3 ($CP_4 < CP_14$)

Here the colour ordering is changed too
Screenshot 2024-08-28 at 3 55 40 PM

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions