View source: R/calculateJCCScores.R
junctionScore | R Documentation |
Function to calculate the JCC score for a given gene
junctionScore(uniqreads, mmreads, predcovs, g, beta = 1, ...)
uniqreads |
Vector with the number of uniquely mapping junction-spanning reads for each junction in the gene. |
mmreads |
Vector with the number of multimapping junction-spanning reads for each junction in the gene. |
predcovs |
Vector with the predicted junction coverages for each junction in the gene. |
g |
Junction weight function that takes as input the fraction of uniquely mapping reads for the junction, and returns a weight for the junction contribution to the score. |
beta |
Scaling exponent. If beta=1, predicted coverages are scaled to have the same (weighted) sum as the observed coverages. If beta=0, no scaling is done. |
... |
Additional parameters passed to |
The value of the JCC score for the gene
Charlotte Soneson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.