gthr: Weight function

View source: R/calculateJCCScores.R

gthrR Documentation

Weight function

Description

Function to determine the weight for a junction in the calculation of the JCC scores and the scaled coverages. This function is used by junctionScore and scaledCoverage, and does not have to be called by the user.

Usage

gthr(omega, thr)

Arguments

omega

Fraction of uniquely mapped reads among those spanning the junction.

thr

Threshold value. If omega is above this value, the junction contributes to the JCC score of the gene. If omega is below this value, the junction doesn't contribute.

Value

Either 1 or 0, representing the weight for the junction.

Author(s)

Charlotte Soneson


csoneson/jcc documentation built on March 26, 2024, 1:24 a.m.