Learn R Programming

xhmmScripts (version 1.0)

plotAllChromosomeValues: Plot to a png file the values for the given intervals.

Description

Plot to a png file the values for the given intervals, alternating color by chromosome.

Usage

plotAllChromosomeValues(chr, values, ylab, title,
outputName, specialColors = NULL)

Arguments

chr
values
ylab
title
outputName
specialColors

Examples

Run this code
plotAllChromosomeValues(c(rep(1, 200), rep(2, 100), rep(3, 50)),
c(sample(1:200), sample(1:100), sample(1:50)), "Values", "Genomic values", "./out")

Run the code above in your browser using DataLab