genesetdnds | R Documentation |
Function to estimate global dN/dS values for a gene set when using whole-exome data. Global dN/dS values for a set of genes can also be obtained using dndscv (gene_list argument), but that option estimates the trinucleotide mutation rates exclusively from the list of genes of interest. This may be prefereable in large datasets, but in small datasets, the genesetdnds option estimates global dN/dS values for a set of genes while using all genes in the exome to fit the substitution model. Usage: genesetdnds(dndsout, gene_list).
genesetdnds(dndsout, gene_list, sm = "192r_3w")
dndsout |
Output object from dndscv. To generate a valid input object for this function, use outmats=T when running dndscv. |
gene_list |
List of genes to restrict the analysis (gene set). |
sm |
Substitution model (precomputed models are available in the data directory) |
Martincorena I, et al. (2017) Universal patterns of selection in cancer and somatic tissues. Cell. 171(5):1029-1041.
'genesetdnds' returns a list of objects:
globaldnds_geneset: Global dN/dS estimates in the gene set, including Wald CI95
globaldnds_rest: Global dN/dS estimates in all other genes, including Wald CI95
Inigo Martincorena (Wellcome Sanger Institute)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.