beeswarm_ggplot: Beeswarm plots for SBA data using ggplot

View source: R/ajf_result_plots.R

beeswarm_ggplotR Documentation

Beeswarm plots for SBA data using ggplot

Description

Makes beeswarm (jitter) plots for all analytes (beads) in the input object data. Grouping is performed according to the grouping_var column in the df sample_info.

Usage

beeswarm_ggplot(
  data,
  filename,
  sample_info,
  bead_info,
  grouping_var,
  sample_name_var,
  xlab
)

Arguments

data

A df with data from an SBA experiment. May be transformed or not.

filename

A string with the desired name of the output .pdf.

sample_info

A df with the sample info.

bead_info

A df with the bead info.

grouping_var

A string with the name of the column in sample_info containing the desired grouping variable.

sample_name_var

A string with the name of the column in sample_info containing the desired sample identifier.

xlab

A character vector containing the desired grouping labels to be printed.


cekehe/rappp documentation built on May 17, 2022, 8:54 a.m.