get_all_b_or_t_cell_epitopes_and_mhc_alleles: Internal function

View source: R/get_all_b_or_t_cell_epitopes_and_mhc_alleles.R

get_all_b_or_t_cell_epitopes_and_mhc_allelesR Documentation

Internal function

Description

Get all epitopes from a B or T cell assay

Usage

get_all_b_or_t_cell_epitopes_and_mhc_alleles(
  b_cell_or_t_cell,
  max_n_queries = Inf,
  verbose = FALSE
)

Arguments

b_cell_or_t_cell

use "b_cell" for B cells and "t_cell" for T cells

max_n_queries

maximum number of queries. Use Inf to have no upper limit on this. Lower values are useful for debugging.

verbose

set to TRUE for more output

Value

a tibble tibble with two columns:

  • linear_sequence: the linear sequence of the epitope

  • mhc_allele_name: the name of the MHC allele

Author(s)

Richèl J.C. Bilderbeek

Examples

if (pureseqtmr::is_on_ci()) {
  get_all_b_or_t_cell_epitopes_and_mhc_alleles(b_cell_or_t_cell = "b_cell")
  get_all_b_or_t_cell_epitopes_and_mhc_alleles(b_cell_or_t_cell = "t_cell")
}

richelbilderbeek/iedbr documentation built on Aug. 21, 2022, 12:12 a.m.