replaceWithOriginal: Returns the matching original names for the sanitized ones...

View source: R/phylogenies.R

replaceWithOriginalR Documentation

Returns the matching original names for the sanitized ones held in argument 'san.names'.

Description

Returns the matching original names for the sanitized ones held in argument 'san.names'.

Usage

replaceWithOriginal(san.names, name.mappings)

Arguments

'san.names'

a character vector of sanitized names (gene accessions)

'name.mappings'

a data.frame generated by function 'sanitizeNames(...)'. This data.frame is used to lookup the matching original names for the argument sanitized names.

Value

A character vector in which the original names are stored in the order of their matching sanitized ones as they appear in the argument 'san.names'.


asishallab/GeneFamilies documentation built on May 22, 2023, 11:30 a.m.