sameSignatureFormat {decompTumor2Sig} | R Documentation |
'sameSignatureFormat()' checks whether two input object are sets (lists) of numeric objects both compatible with the same signature format (probability vectors for Alexandrov signatures and probability matrices or data.frames for Shiraishi signatures). For Shiraishi signatures also the number of flanking bases and the presence of transcription-strand information are compared. For Alexandrov signatures also the number of triplet changes are compared.
sameSignatureFormat(x, y)
x |
First object to be checked. |
y |
Second object to be checked. |
Logical value (true or false).
Rosario M. Piro
Freie Universitaet Berlin
Maintainer: Rosario
M. Piro
E-Mail: <rmpiro@gmail.com> or <r.piro@fu-berlin.de>
http://rmpiro.net/decompTumor2Sig/
Krueger, Piro (2018) decompTumor2Sig: Identification of mutational
signatures active in individual tumors. BMC Bioinformatics (accepted for
publication).
Krueger, Piro (2017) Identification of Mutational Signatures Active in
Individual Tumors. NETTAB 2017 - Methods, Tools & Platforms for
Personalized Medicine in the Big Data Era, October 16-18, 2017, Palermo,
Italy. PeerJ Preprints 5:e3257v1, 2017.
decompTumor2Sig
isAlexandrovSet
isShiraishiSet
### get Alexandrov signatures from COSMIC signAlexandrov <- readAlexandrovSignatures() ### convert them to the Shiraishi model signShiraishi <- convertAlexandrov2Shiraishi(signAlexandrov) sameSignatureFormat(signAlexandrov, signShiraishi)