Skip to content

mergeSetChains error "number of supplied new cluster labels does not match the number of clusters in w_chain" #7

Description

@SebastianHollizeck

Hi,

i just tried to run PICTOgraph on my dataset with abour 2300 variants in 6 samples and everything went fine until the merging of the chains in the end.

I left everything to default setting when chosing the K for the sets:

> set_k_choices
# A tibble: 59 × 5
   set_name_bin min_BIC elbow  knee chosen_K
   <chr>          <dbl> <dbl> <dbl>    <dbl>
 1 111111             6     2     2       NA
 2 111110             2     2     2        2
 3 111101             3     3     3        3
 4 111100             1     1     1        1
 5 111011             5     2     2       NA
 6 111010             2     2     4       NA
 7 111001             2     2     2        2
 8 111000             2     2     2        2
 9 110111             1     1     1        1
10 110110             1     1     1        1
# … with 49 more rows

I did some digging and it looks like the best_K_vals calculated in the merge which uses the z_chain has value 2 where the w_chain has value 3.

I can obviously set the one set to 2 instead of 3 manually, because this is the BIC plot in question
image
But I think this qualifies as a bug.

Sadly i dont know how to even adress the issue otherwise.

Thank you for you help,
Sebastian

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