get_bar_plot: get_bar_plot

Description Usage Arguments Value Examples

View source: R/get_bar_plot.R

Description

generate bar plot

Usage

1
get_bar_plot(df_1, x, y, x_label = NULL, y_label = NULL)

Arguments

df_1

dataframe

x

variable for x-axis (qualitative variable)

y

variable for y-axis (usually the frequency)

x_label

x-axis label

y_label

y-axis label

Value

plot

Examples

1
2
3
4
# VH frequency bar plot
data(bregs)
df_1 <- get_freq(bregs, vh)
get_bar_plot(df_1, vh, freq, "VH-gene", "Frequency (%)")

thierrycnam/igfuns documentation built on May 4, 2020, 3:21 a.m.