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)
Could you please help me figure out what’s going on? Thank you.
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.
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)
Could you please help me figure out what’s going on? Thank you.