iseqr_plot_factor: iseqr_plot_factor

Description Usage Arguments Value Author(s)

Description

Generated ggplot objects from a data.frame or tcr object, splitting the data appropriately and adding error bars

Usage

1
2
iseqr_plot_factor(plot_ds, metric, by, type = NA, hjust = -0.5,
  labels = TRUE, ...)

Arguments

plot_ds

A data.frame or tcr object to be plotted

metric

The metric to be plotted (column name)

by

The column to split the data by. This must be a factor

type

A value to restric the data by (must correspond to a value in the "type" field of plot_ds)

hjust

To be passed to geom_text

labels

Logical indicating if labels in the "patient" field of plot_ds should be printed

Value

A ggplot object graphing the data

Author(s)

Alexander Hopkins


ahopki14/immunoSeqR documentation built on May 7, 2019, 2:54 a.m.