Learn R Programming

SARTools (version 1.6.2)

barplotTotal: Total number of reads per sample

Description

Bar plot of the total number of reads per sample

Usage

barplotTotal(counts, group, col = c("lightblue", "orange", "MediumVioletRed",
  "SpringGreen"), outfile = TRUE)

Arguments

counts

matrix of counts

group

factor vector of the condition from which each sample belongs

col

colors of the bars (one color per biological condition)

outfile

TRUE to export the figure in a png file

Value

A file named barplotTotal.png in the figures directory