getData: Get the data for visualization.

Description Usage Arguments Value Author(s)

View source: R/dagLogo.R

Description

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

Usage

1

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


dagLogo documentation built on Dec. 5, 2020, 2 a.m.