setCurrentSpecies: Change the Current Species

setCurrentSpeciesR Documentation

Change the Current Species

Description

Change to a different species (organism) for subsequent analysis, thereby changing all annotation maps to this species.

Usage

setCurrentSpecies(speciesID = NULL, seqID = NULL)

Arguments

speciesID

specify the new species by SpeciesID

seqID

-or- specify the new species by any of its SeqIDs

Details

This is the only method to change annotations between the various species that the Duffy Lab packages operate on. See MapSets for full details.

Value

Returns the SpeciesID of the now-current species as a character string. The main effect of the function is to change all annotation maps, so subsequent calls to the getCurrent...Map() family of functions will return annotation details about this now current species.

See Also

setCurrentTarget, to change the set of organisms under study.

Examples

  setCurrentSpecies( "Hs_grc")
  head( getCurrentGeneMap())
  setCurrentSpecies( "Pf3D7")

robertdouglasmorrison/DuffyTools documentation built on May 6, 2024, 8:26 p.m.