barplotTotal: Total number of reads per sample

View source: R/barplotTotal.R

barplotTotalR Documentation

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,
  ggplot_theme = theme_gray()
)

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

ggplot_theme

ggplot2 theme function (theme_gray() by default)

Value

A file named barplotTotal.png in the figures directory

Author(s)

Marie-Agnes Dillies and Hugo Varet


PF2-pasteur-fr/SARTools documentation built on April 6, 2022, 2:24 a.m.