Plot the log2 transformed signal along a given chromosome with the peaks.

plotPeaks(res, seqname)

Arguments

res

output of HMMtBroadPeak.

seqname

the chromosome to plot.

Value

an ggplot object