Description Usage Arguments Examples
Fit to a peak curve in the frame of a nonlinear least squares model for accurate detection of circadian expression patterns.
1 2 3 4 5 6 7 8 9  | 
data | 
 Dataframe containing the expression data. Samples must be in columns and genes in rows. For an example see data(expression_example).  | 
s2c | 
 Dataframe containing the metadata for the samples. Must have at least a 'sample' column with the sample name as it appears in the data matrix; a 'time' column with the time point the sample was collected; and an 'ind' column containing information for the individual the sample comes from. For an example see data(metadata_example).  | 
shiny | 
 Is the package running in a shiny app? default to FALSE.  | 
mode | 
 Algorithm to use in the NLS regression. Must be one of 'default' for Gauss-Newton, 'plinear' for the Golub-Pereyra algorithm for partially linear least-squares models and 'port' for the ‘nl2sol’ algorithm from the Port library. Default is default. See nls documentation for extended info.  | 
init_value | 
 Initial value for the period. Default is set to 24.  | 
max_per | 
 Maximum period to regress. Default is set to Inf.  | 
min_per | 
 Minimum period to regress. Default is set to -Inf.  | 
1  | circan_peak(data=expression_example, s2c=metadata_example, mode="port")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.