Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mutHeatmap n number in title #261

Open
emilysouthworth opened this issue Apr 12, 2024 · 2 comments
Open

mutHeatmap n number in title #261

emilysouthworth opened this issue Apr 12, 2024 · 2 comments

Comments

@emilysouthworth
Copy link

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

@Niinleslie
Copy link
Owner

@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")])

@emilysouthworth
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants