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.

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

Charlotte Soneson