plotAmpliconNumbers: plotAmpliconNumbers

Description Usage Arguments Details Value Author(s)

Description

Plot the raw counts for primer pairs matched in different sample files as a heatmap

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
plotAmpliconNumbers(MA, transf = function(x) log10(x + 1), ...)

## S4 method for signature 'matrix'
plotAmpliconNumbers(MA, transf = function(x) log10(x +
  1), ...)

## S4 method for signature 'MultiAmplicon'
plotAmpliconNumbers(MA, transf = function(x)
  log10(x + 1), ...)

## S4 method for signature 'MultiAmplicon'
plotPipelineSummary(MA)

## S4 method for signature 'data.frame'
plotPipelineSummary(MA)

Arguments

MA

The primer matching (amplicon) matrix of a MultiAmplicon object or the object itself

transf

transformation to be applied, recommended default is log10(x+1)

...

additional parameter to be passed to pheatmap function

Details

The function uses pheatmap to plot the primer matching statistics stored in the rawCounts slot of a MultiAmplicons-class object

Value

just like the original pheatmap function, A heatmap is drawn to the graphics output device. Returned are (invisibly) a list of components: 1."tree_row" the clustering of rows as hclust object 2. "tree_col" the clustering of columns as hclust object 3. "kmeans" the kmeans clustering of rows if parameter kmeans_k was specified.

Author(s)

Emanuel Heitlinger


derele/MultiAmplicon documentation built on May 15, 2019, 5:04 a.m.