Question: Customised piechart for 2 variables
0
gravatar for exin
17 months ago by
exin50
Australia
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: https://i.pinimg.com/originals/74/2f/ed/742fed441afb2404d6c80772a7f85228.jpg

Any suggestions? Or even another type or presentation?

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

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.

Help
Access

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