Learn R Programming

HTSeqGenie (version 4.2.0)

relativeBarPlot: Make relative bar plots

Description

Make relative bar plots

Usage

relativeBarPlot(data, total, labels, title, filename, ylab = "Percent", cex.names = 0.9, ymax = 100)

Arguments

data
vector of raw, absolute counts
total
number to normalize by, can be vector of same length as data
labels
x-axes labels, category labels for data
title
Title of the plot
filename
plots will be saved under [filename].png and [filename].pdf
ylab
label of y axis
cex.names
scaling param of lables, passed to plot
ymax
extent of y-axis

Value

Nothing, creates two files instead