Description Usage Arguments Details Value Author(s) References
View source: R/buildGenomesFromMutationData.R
Build genome data structures (same as signatures) and fill then with mutation data.
1 2 | buildGenomesFromMutationData(snvs, numBases, type, trDir,
uniqueTrDir=TRUE, refGenome, transcriptAnno, verbose)
|
snvs |
SNV matrix (see description above). |
numBases |
Number of bases for the sequence pattern (odd integer). |
type |
Type of signature to be used ("Alexandrov", "Shiraishi"). |
trDir |
Logical: use transcription-strand information? |
uniqueTrDir |
Logical; used only if trDir is also |
refGenome |
Reference genome ( |
transcriptAnno |
Transcription information ( |
verbose |
Logical. Print additional information? |
SNVs are specified as a matrix of the following format (adapted from VCF):
#> snvs[1:2,]
# CHROM POS REF ALT FORMAT sample1 sample2
#[1,] "2" "947" "C" "T" "GT:PL:GQ:AD:DP" "1/1:84,6,0:6:0,2:2" NA
#[2,] "2" "992" "G" "A" "GT:PL:GQ:AD:DP" "0/1:123,0,33:33:1,3:4" "0/0:..."
A list of genomes: each genome is represented by the observed frequencies of mutation patterns according to the selected signature type.
Rosario M. Piro
Politecnico di Milano
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.