Skip to contents

The get_all_tcrs() function aggregates the TCRs from all samples of a dataset and puts them into one table.

Usage

get_all_tcrs(
  data,
  chain = c("paired", "alpha", "beta"),
  remove_duplicates = TRUE
)

Arguments

data

a TIRTLseq dataset created by load_tirtlseq()

chain

the TCR chain, "alpha", "beta", or "paired" (default is paired)

remove_duplicates

only return one TCR pair for TCRs recognized by both the T-SHELL and MAD-HYPE algorithms (default is TRUE).

Value

A dataframe including all of the TCRs in a dataset.

Details

A pair of TCRs is included twice in the TIRTLseq data if it is recognized by both the T-SHELL and MAD-HYPE algorithms. If remove_duplicates is TRUE (default) the function will only return one of these pairs of TCRs.

Examples

# example code