plotTrackSingular: Highlight clones

View source: R/plotTrackSingular.R

plotTrackSingularR Documentation

Highlight clones

Description

Create alluvial plots highlighting each sequence in amino acid list

Usage

plotTrackSingular(ctable)

highlightPlot(aseq, ctable)

Arguments

ctable

tibble of productive amino acid sequences to highlight generated by LymphoSeq function cloneTrack

aseq

CDR3 amino acid sequence to highlight

Details

The plot is made using the package ggplot2 and can be reformatted using ggplot2 functions.

Value

A list of alluvial plots highlighting a single sequence

Functions

  • highlightPlot: Highligh a specific amino acid sequence

Examples

file_path <- system.file("extdata", "TCRB_sequencing", package = "LymphoSeq2")
stable <- LymphoSeq2::readImmunoSeq(path = file_path)
atable <- LymphoSeq2::productiveSeq(stable, aggregate = "junction_aa")
ctable <- LymphoSeq2::cloneTrack(study_table = atable,
                                sample_list = c("TRB_CD8_949", "TRB_CD8_CMV_369"))


elulu3/LymphoSeqTest documentation built on Aug. 27, 2022, 5:47 a.m.