View source: R/getGenomesFromMutFeatData.R
getGenomesFromMutFeatData | R Documentation |
MutationFeatureData
.'getGenomesFromMutFeatData()' takes a MutationFeatureData
object
(mutation count data) as read by the 'pmsignature
' package (e.g.,
by pmsignature::readMPFile
, version 0.3.0) and extracts the mutation
counts of the genomes therein. For passing the genomes to
decomposeTumorGenomes
, the mutation counts must be normalized to
mutation frequencies, which is done by default. [IMPORTANT: set
normalize
to FALSE
only if you are interested in full
integer counts, but do not pass unnormalized counts to
decomposeTumorGenomes
!]
getGenomesFromMutFeatData(mutFeatData, normalize=TRUE)
mutFeatData |
(Mandatory) A |
normalize |
(Optional) Boolean value to specify whether to normalize
the mutation count data to mutation fractions between 0 and 1. This is
the default and NECESSARY in case you want to pass the return value to
|
A list of mutation frequencies (or mutation counts if not
normalized), one object per genome. The format is either according to the
Shiraishi or the Alexandrov model, depending on how the mutation data was
loaded with pmsignature
.
Rosario M. Piro, Politecnico di Milano
Sandra Krueger, Freie Universitaet Berlin
Maintainer: Rosario
M. Piro
E-Mail: <rmpiro@gmail.com> or <rosariomichael.piro@polimi.it>
http://rmpiro.net/decompTumor2Sig/
Krueger, Piro (2019) decompTumor2Sig: Identification of mutational
signatures active in individual tumors. BMC Bioinformatics
20(Suppl 4):152.
decompTumor2Sig
### get breast cancer genomes from ### Nik-Zainal et al (PMID: 22608084) in the format produced by ### pmsignature (PMID: 26630308) pmsigdata <- system.file("extdata", "Nik-Zainal_PMID_22608084-pmsignature-G.Rdata", package="decompTumor2Sig") load(pmsigdata) ### extract the genomes from the pmsignature G object genomes <- getGenomesFromMutFeatData(G, normalize=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.