Learn R Programming

Repliscope (version 1.1.1)

plotRatio: A function to plot a histogram of supplied ratio vector plotRatio plots histogram of values in a supplied vector using ggplot2 and highlights interval between 1 and 2 in green.

Description

A function to plot a histogram of supplied ratio vector plotRatio plots histogram of values in a supplied vector using ggplot2 and highlights interval between 1 and 2 in green.

Usage

plotRatio(ratio, plotting = TRUE)

Arguments

ratio

A numeric vector containing raw or smoothed ratio values (vector).

plotting

Should the plot object be sent to the default device? (boolean, defaults to TRUE).

Examples

Run this code
plotRatio(W303$ratio)
plotObject <- plotRatio(W303$ratio,plotting=FALSE)

Run the code above in your browser using DataLab