diagSizeFactorsPlots: Assess the estimations of the size factors

View source: R/diagSizeFactorsPlots.R

diagSizeFactorsPlotsR Documentation

Assess the estimations of the size factors

Description

Plots to assess the estimations of the size factors

Usage

diagSizeFactorsPlots(
  dds,
  group,
  col = c("lightblue", "orange", "MediumVioletRed", "SpringGreen"),
  outfile = TRUE,
  plots = c("diag", "sf_libsize"),
  ggplot_theme = theme_gray()
)

Arguments

dds

a DESeqDataSet object

group

factor vector of the condition from which each sample belongs

col

colors for the plots

outfile

TRUE to export the figure in a png file

plots

vector of plots to generate

ggplot_theme

ggplot2 theme function (theme_gray() by default)

Value

Two files in the figures directory: diagSizeFactorsHist.png containing one histogram per sample and diagSizeFactorsTC.png for a plot of the size factors vs the total number of reads

Author(s)

Marie-Agnes Dillies and Hugo Varet


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