calculate_mse: Calculate mean squared errors (MSE)

View source: R/15.calculate_mse.R

calculate_mseR Documentation

Calculate mean squared errors (MSE)

Description

Calculate mean squared errors (MSE) for each searched site which is assumed bisection site (i.e. potential CP site).

Usage

calculate_mse(.ele, search_point_START, search_point_END)

Arguments

.ele

A numeric vector, storing 3' UTR coverage for a give sample or collapsed 3' UTR coverage for a given condition

search_point_START

An integer, specifying the start position to calculate MSE

search_point_END

An integer, specifying end position to calculate MSE

Value

a vector of numeric, containing mean squared errors for each searched site when which is assumed as a bisection site (i.e. potential CP site).

Author(s)

Jianhong Ou, Haibo Liu


haibol2016/InPAS documentation built on March 30, 2022, 10:30 a.m.