Sarah145 / CCPlotR

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

legend error in cc_dotplot for option CellPhoneDB #3

Open pandaqiuqiu opened 2 months ago

pandaqiuqiu commented 2 months ago

Hi,

When using cc_dotplot(toy_data, option = 'CellPhoneDB', n_top_ints = 15) to generate a dotplot, the color order and the size of the circles in the legend representing the score are exactly opposite to what is displayed in the plot. Could you take a look at this?

image

Sarah145 commented 1 month ago

Thanks for spotting this! I've pushed a fix so if you reinstall the package the legend should be correct.