Skip to contents

Convert T-cell antigen names to long format used in HGNC gene descriptions, e.g. "T cell receptor gamma variable 24. Greek symbols and words should be converted to letters before using this function

Usage

formatTCR(df, tcr = "TCR", new_col = "TCR_long")

Arguments

df

data.frame or tibble

tcr

(character(1)) Name of column in df containing TCR names

new_col

(character(1)) Name of column to

Value

df in long form with one subunit per row and a new column "new_col" containing the TCR gene description query string