enrichplot icon indicating copy to clipboard operation
enrichplot copied to clipboard

enable sorting in the dotplot y-axis

Open gaospecial opened this issue 3 years ago • 1 comments

The y-axis in dotplot may be KEGG pathway, GO term or something like that. Currently, the order of these terms are basically sorted by alphabeta of term names, and this has a disadvantage in visualizing them when there are many different terms. As far as I know, these terms are somehow have inner relationships. For example, two KEGG pathways may have many overlapped genes. Therefore, to order these terms in y-axis will be meaningful and may lead to a more beautiful figure.

Orders may be:

  1. the term similarity;
  2. whether term representing a activation or suppression in biology;
  3. the overlap of term contained genes.

gaospecial avatar Nov 24 '20 09:11 gaospecial

similar enhancement for #65

gaospecial avatar Nov 26 '20 01:11 gaospecial