plot_sample_bars: The actual library size plotter.

View source: R/plot_bar.R

plot_sample_barsR Documentation

The actual library size plotter.

Description

This makes a ggplot2 plot of library sizes.

Usage

plot_sample_bars(
  sample_df,
  condition = NULL,
  colors = NULL,
  integerp = FALSE,
  order = NULL,
  text = TRUE,
  plot_title = NULL,
  yscale = NULL,
  ...
)

Arguments

sample_df

Expt, dataframe, or expressionset of samples.

condition

Vector of sample condition names.

colors

Color scheme if the data is not an expt.

integerp

Is this comprised of integer values?

order

Explicitly set the order of samples in the plot?

text

Add the numeric values inside the top of the bars of the plot?

plot_title

Title for the plot.

yscale

Whether or not to log10 the y-axis.

...

Used to catch random arguments which are unused here.


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.