Customised piechart for 2 variables
0
0
Entering edit mode
5.5 years ago
exin ▴ 60

I can't quite find the right tool / package to do this, mainly because I'm not sure what it's called.

After scRNA-Seq, I have a list of differentially expressed genes (DEGs) in each cell type. I did a Pfam run to scan for all domains in the peptides.

Two variables of interest: 1. No. of times a domain occurs 2. No. of genes each of these domains occurs in

I would do a piechart to show the % of each domain for the DEGs in a cell type, but I also want each "slice" to reveal the no. of genes that domain occurs in.

Closest thing I can find is a donutchart (or any "ring-like" version of a piechart) so that var1 is proportional to the degree of the "slice", var2 is proportional to the width of the "slice", something like this: https://i.pinimg.com/originals/74/2f/ed/742fed441afb2404d6c80772a7f85228.jpg

Any suggestions? Or even another type or presentation?

piechart donutchart inforgraphic charts • 804 views
ADD COMMENT
3
Entering edit mode

not answer but a comment: it is called doughnut chart, not a pie chart, and was developed by people who find pie chart not ugly and useless enough. Use stacked barplot or any other type of plot which does not force reader to compare angles or areas.

ADD REPLY

Login before adding your answer.

Traffic: 2264 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6