Description Usage Arguments Value Examples
View source: R/cosinor_functions.R
Fits a cosinor model to a given gene in a given dataset and plots the model
1 2 3 4 5 6 7 8 | CosinorPlot(
genename,
dataset,
timelag = 6,
period = 24,
print = TRUE,
save = FALSE
)
|
genename |
The name of a gene intended for plotting. Must be a string. |
dataset |
A transcriptomics dataset. First columns should be gene names. All other columns should be expression levels. |
timelag |
The value of time for which observations begin. Defaults to 6. |
period |
The period of rhythmicity which is being tested for. Defaults to 24 (circadian). |
print |
Logical. If TRUE renders plot in the plot viewer. Defaults to TRUE |
save |
Logical. If TRUE, saves plot to working directory. Defaults to FALSE. |
Prints or saves ggplot2 object(s)
1 | CosinorPlot('comp100000_c0_seq2', Laurasmappings )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.