Skip to content

Allow manual specification of genes to annotate in decoupler.pl.volcano() #287

@dnjst

Description

@dnjst

Description of feature

Hi, when making volcano plots for either talks or papers, it is common sometimes to use other methods (including literature curation, more complex than linear sorting) to specify which genes to annotate/mark on the volcano.

It would be great if there could be an argument in decoupler.pl.volcano() to pass an iterable of index values in the dataframe to annotate (e.g. force_annotate=["BRCA1","BRCA2"]), either in conjunction with top=5 argument, as well as to allow values of top=0 or top=None to only show manually selected genes.

I am currently using a customized volcano plotting code to do this, but it seems it would be a useful addition to decoupler!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions