Sarah145 / CCPlotR

An R package for visualising cell-cell interactions
MIT License
39 stars 2 forks source link

error of cc_dotplot(cc_df) #6

Open pandaqiuqiu opened 2 months ago

pandaqiuqiu commented 2 months ago

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.