barplotNull: Percentage of null counts per sample

View source: R/barplotNull.R

barplotNullR Documentation

Percentage of null counts per sample

Description

Bar plot of the percentage of null counts per sample

Usage

barplotNull(
  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 barplotNull.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.