Description Usage Arguments Value Author(s) Examples
View source: R/predictionsToSummary.R
Takes predictions of branchpoint probabilities from a reference and alternative SNP and summarises the effect(s) of the SNP.
1 2 | predictionsToSummary(query, predictions, probabilityCutoff = 0.52,
probabilityChange = 0.15)
|
query |
query GRanges containing all SNP ids to be summarised |
predictions |
site-wide branchpoint proability predictions produced from predictBranchpoints() |
probabilityCutoff |
Value to be used as the cutoff for
discriminating branchpoint sites from non-branchpoint sites
(default = |
probabilityChange |
Minimum probability score change
required to call a branchpoint site as deleted or created by
a SNP (default = |
GRanges with summarised branchpoint changes occuring within the intron due to a SNP.
Beth Signal
1 2 3 4 5 6 7 8 9 | smallExons <- system.file("extdata","gencode.v26.annotation.small.gtf", package = "branchpointer")
exons <- gtfToExons(smallExons)
g <- BSgenome.Hsapiens.UCSC.hg38::BSgenome.Hsapiens.UCSC.hg38
querySNPFile <- system.file("extdata","SNP_example.txt", package = "branchpointer")
querySNP <- readQueryFile(querySNPFile,queryType = "SNP",exons = exons, filter = FALSE)
predictionsSNP <- predictBranchpoints(querySNP,queryType = "SNP",BSgenome = g)
summarySNP <- predictionsToSummary(querySNP,predictionsSNP)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.