Skip to content

error of cc_dotplot(cc_df) #6

@pandaqiuqiu

Description

@pandaqiuqiu

When I use the cc_dotplot() function with the toy_data to generate a plot, it works fine. However, when I use my own data with this function, an error occurs.

cc_dotplot(cc_df)
Error in [[<-.data.frame(*tmp*, i, value = c("#FCFFA4FF", "#FAC127FF", :
replacement has 8 rows, data has 7

But when I use my data with cc_dotplot(cc_df, option = 'B'), the plot works without any issues.

cc_dotplot(cc_df, option = 'B', n_top_ints = 10)
image

Could you please help me figure out what’s going on? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions