
Map a single base to the corresponding number (generic ggDNAvis helper)
Source: R/dna_tools.R
convert_base_to_number.RdThis function takes a single base and numerically
encodes it for visualisation via raster::raster().
Encoding: A = 1, C = 2, G = 3, T/U = 4.