convert_species: generic for convert_species

Description Usage Arguments Value

View source: R/convert_species.R

Description

Given a dataset and a data-frame that contains ID-mappings from one species (source) to another (target), return a version of x where the IDs have been mapped to the IDs in the target species.

Usage

1
convert_species(x, homologues, ...)

Arguments

x

A data.frame or data.frame extension.

homologues

A two-column data.frame, the first column containing the IDs for the source-species, the second containing the IDs from the target-species.

...

Further arguments

Value

An object of the same type as x.


russHyde/homologiser documentation built on May 19, 2020, 8:20 p.m.