Learn R Programming

amanida (version 0.3.0)

vote_plot: Bar-plot for compounds vote-counting

Description

vote_plot creates a bar-plot showing the vote-count for each compound.

Usage

vote_plot(mets, counts = NULL)

Value

a ggplot bar-plot showing the vote-count per compound

Arguments

mets

an S4 METAtables object obtained by compute_amanida or amanida_vote.

counts

value of vote-counting cut-off. Will be only displayed data over the cut-off.

Details

Vote-couting is the sum of number of reports up-regulated and the substraction of reports down-regulated.

Examples

Run this code
if (FALSE) {
    data("sample_data")
    result <- compute_amanida(sample_data)
    vote_plot(result)
}

Run the code above in your browser using DataLab