check.species: Checks that the species names, i.e. "mouse" can be linked 1:1...

Description Usage Arguments Value Examples

View source: R/check.species.r

Description

Returns the linked species name from the MGI homolog table, i.e. if you pass "mouse" it returns "mouse, laboratory". Essentially it's a convenience function so you don't need to write out "mouse, laboratory". It's intended primarily for use within the packages other functions and should not be generally called seperately.

Usage

1
check.species(requestedSpecies, allSpecies)

Arguments

requestedSpecies

String with the name of the first species, i.e. "mouse"

allSpecies

String with the names of all species from the MGI homolog table

Value

The name of the species in the MGI homolog table.

Examples

1
2
allHomologs = load.homologs()
species1 = check.species(requestedSpecies="mouse",allSpecies=allHomologs$`Common Organism Name`)

NathanSkene/One2One documentation built on July 14, 2021, 7:48 a.m.