explore_plot function

Plot for compounds divergence in reports

Plot for compounds divergence in reports

explore_plot creates a bar-plot showing the votes divided in up-regulated and down-regulated and the global result for each compound.

explore_plot(data, type = "all", counts = NULL)

Arguments

  • data: an tibble obtained by amanida_read w/o names checked by check_names

  • type: select the subset of data to plot. Options are:

    • "all": all data will be displayed
    • "sub": only data over counts value will be displayed. Need counts value.
    • "mix": will display data over count value and elements with reports in both trends.Need counts value.
  • counts: value of vote-counting cut-off. Will be only displayed data over the cut-off.

Returns

a ggplot bar-plot showing the sum of votes for each compound divided by the trend

Details

Sum of votes divided by trend are plotted, then is obtained the total result by compound summing both trends.

Examples

data("sample_data") explore_plot(sample_data, type = "mix", counts = 1)