Description Usage Arguments Value Examples
This function provides a background probability for each mutation feature, that is available only when the model type is "independent" or "full", and the numBases is either of 3, 5, 7 or 9.
The background probability vectors are calculated by the function getBackgroudSignature,
checking the frequencies of consecutive nucleotides on exonic regions.
Therefore, when you are using whole genome sequencing data,
using the background signatures provided by this function may not be appropriate.
1 | readBGFile(mutationFeatureData)
|
mutationFeatureData |
the mutation data processed in the function ( |
The output is a background probability vector corresponding to the input mutation data.
1 2 3 | inputFile <- system.file("extdata/Nik_Zainal_2012.mutationPositionFormat.txt.gz", package="pmsignature")
G <- readMPFile(inputFile, numBases = 7)
BG_prob <- readBGFile(G)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.