plotLibrarySize: Plot library size

Description Usage Arguments Value See Also Examples

View source: R/data_geNormalisationFiltering.R

Description

Plot library size

Usage

1
2
3
4
5
6
7
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

1
2
3
4
5
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)

psichomics documentation built on Nov. 8, 2020, 5:44 p.m.