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

Description Usage Arguments Value Author(s) Examples

View source: R/nucleoSimFunctions.R

Description

Generate a graph for a list marked as an syntheticNucMap class

Usage

1
2
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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")

nucleoSim documentation built on Nov. 8, 2020, 5:50 p.m.