plotLibrarySize: Plot library size

View source: R/data_geNormalisationFiltering.R

plotLibrarySizeR Documentation

Plot library size

Description

Plot library size

Usage

plotLibrarySize(
  data,
  log10 = TRUE,
  title = "Library size distribution across samples",
  subtitle = "Library size: total number of mapped reads",
  colour = "orange"
)

Arguments

data

Data frame or matrix: gene expression

log10

Boolean: log10-transform data?

title

Character: plot title

subtitle

Character: plot subtitle

colour

Character: data colour

Value

Library size distribution

See Also

Other functions for gene expression pre-processing: convertGeneIdentifiers(), filterGeneExpr(), normaliseGeneExpression(), plotGeneExprPerSample(), plotRowStats()

Examples

df <- data.frame(geneA=c(2, 4, 5),
                 geneB=c(20, 3, 5),
                 geneC=c(5, 10, 21))
colnames(df) <- paste("Sample", 1:3)
plotLibrarySize(df)

nuno-agostinho/psichomics documentation built on Feb. 11, 2024, 11:16 p.m.