Learn R Programming

mapfuser (version 0.1.2)

calc_RMSE: Internal function to calculate the Root Mean Square Error to select the maximum interval size.

Description

The LPmerge algorithm is called for all linkage groups with an option for multicore processing. mapfuser further adds automatic selection of the lowest max

Usage

calc_RMSE(lp_res, max.interval)

Arguments

lp_res

Result of the mapfuser foreach call or alternatively the result of a call to LPmerge

max.interval

A whole number specifying the maximum interval size between bins to included in the objective function for LPmerge

Value

A list of calculated Root Mean Square Error (RMSE) per chromosome with RMSE for each linkage group ID compared to the consensus map. The mean and standard deviation over the linkage group IDs is also provided.