MesKit icon indicating copy to clipboard operation
MesKit copied to clipboard

mutHeatmap n number in title

Open emilysouthworth opened this issue 10 months ago • 2 comments

What does the number mean in each plotted mutHeatmap for a given sample?

For example, in example data V974 has 298 n. I assumed this was the total mutations however the maf file has 1588 rows, assuming (without duplicate variants) this is total number of mutations observed across all samples. Using the calculated percentages for shared, public and private events also doesn't get me to the number 298. Screenshot 2024-04-12 103311

emilysouthworth avatar Apr 12 '24 09:04 emilysouthworth

@emilysouthworth As each mutation exists in at least one sample, the row count does not represent the total number of mutations across all samples from V974. The number of unduplicated muts can be calculated using dim(dplyr::distinct(maf$V974@data[, c("Chromosome", "Start_Position", "Reference_Allele")])

Niinleslie avatar Jun 11 '24 12:06 Niinleslie

Thank you for the reply. So, is the number 298 pertaining to the total number of mutations shared across all samples?

emilysouthworth avatar Jul 11 '24 13:07 emilysouthworth