Arranges V-gene logos, CDR3 sequence logos (with optional junction bars), and J-gene logos for both alpha and beta chains in a single composite panel. This provides a comprehensive view of TCR rearrangement structure.
Arguments
- tcrs
Data.frame with at least columns
va,ja,cdr3a,vb,jb,cdr3b. For junction bars, also requirescdr3a_nucseqandcdr3b_nucseq.- organism
Character string. Organism identifier (e.g.,
"human","mouse").- show_junction_bars
Logical. If
TRUE(default) and nucleotide sequence columns are present, display V/N/D/J junction bars below each CDR3 logo.- title
Optional character string. Overall panel title.
Examples
if (FALSE) { # \dontrun{
data(dash)
pa <- dash[dash$epitope == "PA", ][1:30, ]
plot_tcr_logo_panel(pa, organism = "mouse")
plot_tcr_logo_panel(pa, organism = "mouse", show_junction_bars = FALSE)
} # }