iseqr_plot_metrics: iseqr_plot_metrics

Description Usage Arguments Value Author(s)

Description

Generated ggplot objects from a data.frame or tcr object

Usage

1
2
iseqr_plot_metrics(plot_ds, metric, by, type = NA, sm = TRUE,
  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 numeric.

type

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

sm

Logical indicating if trend line should be added with geom_smooth

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/tcrSeqR documentation built on May 16, 2019, 6:56 p.m.