formatTCR | R Documentation |
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
formatTCR(df, tcr = "TCR", new_col = "TCR_long")
df |
data.frame or tibble |
tcr |
(character(1)) Name of column in df containing TCR names |
new_col |
(character(1)) Name of column to |
df in long form with one subunit per row and a new column "new_col" containing the TCR gene description query string
df, with an additional column, by default named "TCR_long", giving the TCR name in long format to allow exact matching in the gene_aliases table.
Helen Lindsay
df <- data.frame(Antigen = c("TCRab", "TCR-ab", "TCRa/b"))
formatTCR(df, tcr = "Antigen")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.