plot.syntheticNucMap: Generate a graph of a synthetic nucleosome map

View source: R/nucleoSimFunctions.R

plot.syntheticNucMapR Documentation

Generate a graph of a synthetic nucleosome map

Description

Generate a graph for a list marked as an syntheticNucMap class

Usage

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

Arguments

x

a list marked as an syntheticNucMap class

...

... extra arguments passed to the plot function

Value

a graph of a synthetic nucleosome map

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
syntheticMap <- syntheticNucMapFromDist(wp.num = 30, wp.del = 10,
wp.var = 10, fuz.num = 5, fuz.var = 20, rnd.seed = 15,
distr = "Student")

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


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