vote_plot function

Bar-plot for compounds vote-counting

Bar-plot for compounds vote-counting

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

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.

Returns

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

Details

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

Examples

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