Question: Customised piechart for 2 variables
gravatar for exin
17 months ago by
exin50 wrote:

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:

Any suggestions? Or even another type or presentation?

ADD COMMENTlink modified 17 months ago by ATpoint42k • written 17 months ago by exin50

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 REPLYlink written 17 months ago by German.M.Demidov1.9k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 951 users visited in the last hour