Interpretation the percentage of top 10 mutated gene in plotmafSummary result
1
0
Entering edit mode
4.5 years ago
sugus ▴ 150

Hi,

I am learning maftools, a R package, to analyze some mutation data but I am really confused about the percentage of top 10 mutated gene in plotmafSummary result when reading your delicate vignette. I made a screenshot and show it as the follows:

enter image description here

You could obviously see that 25% has a little bit longer than 27% regarding the bar length, or TET2 (9%) has longer bar length than that of IDH2 (10%). This is really confusing and how to interpret that? What does this percentage value mean?

Thank you.

R maftools mutation • 1.3k views
ADD COMMENT
0
Entering edit mode
4.5 years ago
dsull ★ 5.8k

See source code here: https://rdrr.io/bioc/maftools/src/R/dashboard.R

Seems like the length of the bars are based off of the total number of mutations in the gene while the percentage is based off of the fraction of samples with an alteration. This would mean that some samples may have multiple mutations (e.g. a single sample might have more than one mutation in DNMT3a), hence the discrepancy.

ADD COMMENT
0
Entering edit mode

After searching around some more, seems like that is indeed the case: https://gitmemory.com/issue/PoisonAlien/maftools/339/501155132

ADD REPLY

Login before adding your answer.

Traffic: 2660 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