View source: R/polyqtlR_functions.R
| spline_IBD | R Documentation | 
Fits splines to IBD probabilities at a grid of positions at user-defined spacing.
spline_IBD(IBD_list, gap, method = "cubic", ncores = 1, log = NULL)
| IBD_list | List of IBD probabilities | 
| gap | The size (in centiMorgans) of the gap between splined positions | 
| method | One of two options, either "linear" or "cubic". The default method (cubic) fits cubic splines, and although more accurate, becomes computationally expensive in higher-density data-sets, where the linear option may be preferable. | 
| ncores | Number of cores to use, by default 1 only. Works both for Windows and UNIX (using  | 
| log | Character string specifying the log filename to which standard output should be written. If  | 
Returns a list of similar format as IBD_list, with a splined IBD_array in place of the original IBD_array
data("IBD_4x")
IBD_4x.spl <- spline_IBD(IBD_list = IBD_4x, gap = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.