Skip to contents

This function plots the motif counts.

Usage

plot_motifs(data, attr_col, k = 60)

Arguments

data

A data frame containing the motif counts.

attr_col

Character. Attribute column name.

k

the minimum count threshold (default: 60).

Value

A ggplot2 object representing the motif counts plot.

Examples

if (FALSE) { # \dontrun{
proj <- reTCR::get_study(id="PRJNA473147", attr_col="cmv_status")
reTCR::plot_motifs(proj@motif@aa_motif_count, "cmv_status", 50)
} # }