Learn R Programming

MEDIPS (version 1.22.0)

MEDIPS.plotSaturation: Function plots the results of the MEDIPS.saturationAnalysis function.

Description

The results of the saturation analysis will be visualized by the function.

Usage

MEDIPS.plotSaturation(saturationObj = NULL, main="Saturation analysis")

Arguments

saturationObj
The saturation results object returned by the MEDIPS.saturationAnalysis function
main
The title of the coverage plot.

Value

The coverage plot will be visualized.

Examples

Run this code

library(MEDIPSData)
library(BSgenome.Hsapiens.UCSC.hg19)
bam.file.hESCs.Rep1.MeDIP = system.file("extdata", "hESCs.MeDIP.Rep1.chr22.bam", package="MEDIPSData")

sr=MEDIPS.saturation(file=bam.file.hESCs.Rep1.MeDIP, BSgenome="BSgenome.Hsapiens.UCSC.hg19", uniq=1e-3, extend=250, shift=0, window_size=100, chr.select="chr22", nit=10, nrit=1, empty_bins=TRUE, rank=FALSE)
MEDIPS.plotSaturation(saturationObj = sr, main="Saturation analysis")

Run the code above in your browser using DataLab