makeplot {epidecodeR} | R Documentation

## Generate CDF plot using epidecodeR object generated using epidecodeR function

### Description

Generate CDF plot using epidecodeR object generated using epidecodeR function

### Usage

    makeplot(obj, type, lim, title, xlab, ylab)

### Arguments

`obj` | epidecodeR object - epidecodeR object generated using epidecodeR function
`type` | char - Type of CDF plot to generate; Accepted values 't': theoretical CDF plot; 'e': empirical CDF plot; 'both': Creates both theoretical and empirical plots. Default: both
`lim` | vector - Upper and lower limits of log2FC for X-axis
`title` | char - Title of the plot
`xlab` | char - X-axis label
`ylab` | char - Y-axis label

### Value

A CDF plot

### Examples

    events<-system.file("extdata","NOMO-1_ref_peaks.bed", package="epidecodeR")
    deg<-system.file("extdata", "FTOi.txt", package="epidecodeR")
    epiobj<-epidecodeR(events=events,deg=deg,pval=0.05,param=3,ints=c(2,4))
    makeplot(epiobj, lim = c(-10,10), xlab = "log2FC")

[Package epidecodeR version 1.2.0 Index]