plot.syntheticNucReads: Generate a graph of a synthetic nucleosome map containing...

View source: R/nucleoSimFunctions.R

plot.syntheticNucReadsR Documentation

Generate a graph of a synthetic nucleosome map containing forward and reverse reads

Description

Generate a graph for a list marked as an syntheticNucReads class

Usage

## S3 method for class 'syntheticNucReads'
plot(x, ...)

Arguments

x

a list marked as a syntheticNucReads class

...

... extra arguments passed to the plot function

Value

a graph of a synthetic nucleosome map containing forward and reverse reads

Author(s)

Astrid Deschenes, Rawane Samb

Examples


## Generate a synthetic map with 20 well-positioned nucleosomes, 5 fuzzy
## nucleosomes and 10 deleted nucleosomes using a Student distribution
## with a variance of 10 for the well-positioned nucleosomes,
## a variance of 20 for the fuzzy nucleosomes and a seed of 15
syntheticNucSample <- syntheticNucReadsFromDist(wp.num = 30, wp.del = 10,
wp.var = 10, fuz.num = 5, fuz.var = 20, rnd.seed = 15,
distr = "Student", offset = 1000)

## Create graph using the synthetic map
plot(syntheticNucSample, xlab="Position", ylab="Coverage")


ArnaudDroitLab/nucleoSim documentation built on March 17, 2022, 11 p.m.