getData {dagLogo} | R Documentation

## Get the data for visualization.

### Description

A helper function to get the data and the label for visualization.

### Usage

    getData(type, testDAUresults)

### Arguments

`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.
`testDAUresults` | An object of `testDAUresults-class`, which contains results of testing differential amino acid usage).

### Value

A list containing the following components: label A character vector of length 1. The type of data for visualization. dat A matrix of numeric data for visualization.

### Author(s)

Haibo Liu

[Package dagLogo version 1.30.0 Index]