petercombs / dicty

0 stars 1 forks source link

Automatically annotate figures with pathway strengths #5

Open petercombs opened 5 years ago

petercombs commented 5 years ago

One nice thing to do would be to automatically take a figure like this one from the Schaap review:

Screen Shot 2019-03-11 at 12 35 33 PM

and annotate it by coloring genes by strength of hit.

petercombs commented 5 years ago

Okay, this is starting to work: image

https://github.com/petercombs/dicty/commit/7e8af6045f02e3dcf0f9542028bb869b5c249dbc

Still have some things to work out, such as:

petercombs commented 5 years ago

In lab meeting, it was pointed out that classifying SNPs are "stalk biased" or "spore biased" doesn't make a ton of sense, since if you switch the reference and alternate alleles, the classification switches. So maybe just coloring by the highest p-value, regardless of "direction" is the better way to do it.

Other comments: