vote_plot: Bar-plot for compounds vote-counting

View source: R/plots.R

vote_plotR Documentation

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)

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.

Value

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

Examples

## Not run: 
    data("sample_data")
    result <- compute_amanida(sample_data)
    vote_plot(result)

## End(Not run)


amanida documentation built on March 30, 2022, 9:06 a.m.