pad_single_digit {TCRconvertR}R Documentation

Add a 0 to single-digit gene-level designation

Description

pad_single_digit() takes a gene name and ensures that any single-digit number following a sequence of letters is padded with a leading zero. This is to match the Adaptive format.

Usage

pad_single_digit(gene_str)

Arguments

gene_str

A string, the gene name.

Value

A string, the updated gene name.

Examples

pad_single_digit("TCRBV1-2")

[Package TCRconvertR version 1.0 Index]