This may be a basic question, but I have performed a variant calling of SNPs and INDELs to several patients. Now, I want to study mutated genes in the whole cohort, so I obtained a table in which I have each mutated gene on the cohort and the number of samples in which it is mutated:
Gene nbsamples TP53 3 KRAS 5 . . . . . .
Now I want to permorm an analysis of pathways enrichment, but I would like to take into account, not just the mutated genes, but also its mutation frequency in the population, in order to get a better statistical power.
Do you know how can I do this?