DCP_PlotDisplay: Displaying DCP_ScatterPlot outputs

View source: R/DCP_GraphFunctions.R

DCP_PlotDisplayR Documentation

Displaying DCP_ScatterPlot outputs

Description

Displaying DCP_ScatterPlot outputs

Usage

DCP_PlotDisplay(x, id = NULL)

Arguments

x

DCP_ScatterPlot output

id

integer. Indexes for plots to display.

Value

Plots returned

Examples

x = DCP_sim_data(ngene=1000, nsample=30, A1=c(1, 3), A2=c(1, 3),
phase1=c(0, pi/4), phase2=c(pi/4, pi/2),
M1=c(4, 6), M2=c(4, 6), sigma1=1, sigma2=1)

rhythm.res = DCP_Rhythmicity(x1 = x[[1]], x2 = x[[2]])
rhythm.plots = DCP_ScatterPlot(rhythm.res)
#to display plot in Rstudio use DCP_PlotDisplay()
#display the first five plots
DCP_PlotDisplay(rhythm.plots, id = 1:5)

DiffCircaPipeline/Rpackage documentation built on March 17, 2023, 7:32 a.m.