acc2hex: Convert accession number to hexadecimal coding

View source: R/utilities.R

acc2hexR Documentation

Convert accession number to hexadecimal coding

Description

Hexadecimal coding is useful for ensuring that accession numbers dont contain characters that are considered illegal for newick strings

Usage

acc2hex(x, force = FALSE)

Arguments

x

A DNAbin or DNAStringSet with names formatted Accession|taxid;taxonomy. Or a character vector with names formatted Accession|taxid;taxonomy Or a character vector of accessions

force

override checks if string is already hexadecimal


alexpiper/taxreturn documentation built on Sept. 14, 2024, 7:56 p.m.