plotRatio: A function to plot a histogram of supplied ratio vector...

View source: R/plotRatio.R

plotRatioR Documentation

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

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

Repliscope documentation built on Sept. 13, 2022, 9:05 a.m.