View source: R/mixedcirc_fit_plot.R
mixedcirc_fit_plot | R Documentation |
This functions plots circadian rhythm fitted using mixedcirc_detect function.
mixedcirc_fit_plot(
x,
period = 24,
min_time = NULL,
max_time = NULL,
plot_title = NULL,
plot_points = TRUE,
plot_smooth = FALSE,
plot_trend = TRUE,
xlab = "time",
ylab = "Expression"
)
x |
A class of mixedcirc_fit |
period |
The rhythm period. Default: 24 |
min_time |
Minimum time span to do the prediction. If NULL, it will be taken from the fit. Default: NULL |
max_time |
Maximum time span to do the prediction. If NULL, it will be taken from the fit. Default: NULL |
plot_title |
Title of the plot. |
plot_points |
whether to plot the individual points or not. Default TRUE |
plot_smooth |
Whether to plot smoothing line or not. Default: FALSE |
plot_trend |
Whether to plot trend lines or not. Default: TRUE |
xlab |
Label on the x-axis |
ylab |
Label on the y-axis |
y |
Not used |
In case of RRBS, the data is assumed to be log2. The M-values are calculated as Mathylated-Unmethylated
A ggplot object.
data("circa_data")
results<-mixedcirc_detect(data_input = circa_data$data_matrix,
time = circa_data$time,group = circa_data$group,id = circa_data$id,period = 24,verbose = TRUE)
plot(results[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.