explore_plot: Plot for compounds divergence in reports

View source: R/plots.R

explore_plotR Documentation

Plot for compounds divergence in reports

Description

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

Usage

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

Arguments

data

an tibble obtained by amanida_read

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.

Details

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

Value

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

Examples

data("sample_data")

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


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