dagHeatmap {dagLogo} | R Documentation

## Visualize daglogo using a heatmap.

### Description

Using a heatmap to visualize results of testing differential amino acid usage.

### Usage

    dagHeatmap(testDAUresults, type = c("diff", "statistics"), ...)

### Arguments

`testDAUresults` | An object of `testDAUresults-class`, which contains results of testing differential amino acid usage.
`type` | A character vector of length 1, the type of metrics to display on y-axis. The available options are "diff" and "statistics", which are differences in amino acid usage at each position between the inputSet and the backgroundSet, and the Z-scores or odds ratios when Z-test or Fisher's exact test is performed to test the differential usage of amino acid at each position between the two sets.
`...` | other parameters passed to the`pheatmap` function.

### Value

The output from the `pheatmap` function.

### Author(s)

Jianhong Ou, Haibo Liu

### Examples

    data("seq.example")
    data("proteome.example")
    bg <- buildBackgroundModel(seq.example, proteome=proteome.example,
                               numSubsamples=10)
    t0 <- testDAU(seq.example, bg)
    dagHeatmap(testDAUresults = t0, type = "diff")

[Package dagLogo version 1.25.0 Index]