View source: R/firevat_mutational_patterns.R
RunMutPat | R Documentation |
Identifies mutational signatures using Mutational Patterns
RunMutPat(mut.pat.input, df.mut.pat.ref.sigs, target.mut.sigs, verbose = TRUE)
mut.pat.input |
A list from |
df.mut.pat.ref.sigs |
A data.frame returned by |
target.mut.sigs |
A character vector of target mutational signatures names |
verbose |
If true, provides process details |
A list with the following elements
tumor.mutation.types.spectrumA numeric vector of length 96 - 'observed' spectrum
identified.mutation.types.spectrumA numeric vector of length 96 - 'identified' spectrum
residualsA numeric vector of length 96 - residuals
mutation.typesA character vector of length 96
identified.mut.sigsA character vector where each element is a mutational signature identified
identified.mut.sigs.contribution.weightsA numeric vector where each element is the weight of mutational signature identified. The ordering follows identified.mut.sigs
cosine.similarity.scoreA numeric value
## Not run: vcf.obj <- ReadVCF(vcf.file = "../data/sample/HNT-082-BT.final.call.vcf", genome = "hg19") df.ref.mut.sigs <- GetPCAWGMutSigs() target.mut.sigs <- GetPCAWGMutSigsNames() RunMutPat(vcf.obj = vcf.obj, df.ref.mut.sigs = df.ref.mut.sigs, target.mut.sigs = target.mut.sigs) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.