Coolgenome / iTALK

55 stars 20 forks source link

Colors on Network Plot Do Not Match Colors on LR Plot #8

Open AndreaLGardner opened 4 years ago

AndreaLGardner commented 4 years ago

Hi there,

Thanks for this package, I'm having a lot of fun looking into interactions in my data set! I'm currently having an issues with colors/labels on the Network Plot (see attached image)

In this case, I have my _cellcol setup as: Sensitive_KJ Resistant_KJ "#00ff00" "#ff0000"

Made from:
cell_col <- structure(c('#00ff00','#ff0000'), names=unique(KJjoined_mat$cell_type))

So that my "Sensitive_KJ" fraction should be green and the other fraction red. These colors and labels are accurately represented in the LR plot, but something goes awry when the network plot works with the same _cellcol structure; It inaccurately outputs my sensitive fraction is shown as red! I'm not sure whether I should trust the colors or the labels in this case. Please let me know if you have any suggestions on how to resolve this

Thanks! iTALK_labeled_opposite

kathy1234WU commented 2 years ago

I have the same question.

Is there any update information?

Thanks