Description Usage Arguments Value See Also

View source: R/zeitzeiger_fit.R

`zeitzeigerSig`

estimates the statistical significance of the periodic
smoothing spline fit. At each permutation, the time vector is scrambled and then
zeitzeigerFit is used to fit a periodic smoothing spline for each feature as a
function of time. The p-value for each feature is calculated based on the
of permutations that had a signal-to-noise ratio at least as large as the
observed signal-to-noise ratio, adjusted by the method of Phipson and Smyth (2010).
Make sure to first register the parallel backend using `registerDoParallel`

.
For genome-scale data, this function will be very slow.

1 2 | ```
zeitzeigerSig(x, time, fitMeanArgs = list(rparm = NA, nknots = 3),
nIter = 200, dopar = TRUE)
``` |

`x` |
Matrix of measurements, with observations in rows and features in columns. Missing values are allowed. |

`time` |
Vector of values of the periodic variable for the observations, where 0 corresponds to the lowest possible value and 1 corresponds to the highest possible value. |

`fitMeanArgs` |
List of arguments to pass to |

`nIter` |
Number of permutations. |

`dopar` |
Logical indicating whether to process features in parallel.
Use |

Vector of p-values.

jakejh/zeitzeiger documentation built on Feb. 14, 2018, 9:24 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.