setCurrentTarget: Change the Current Target

setCurrentTargetR Documentation

Change the Current Target

Description

Change the target species(s) for subsequent analysis, thereby changing the set of species to be investigated.

Usage

setCurrentTarget(targetID = NULL, optionsFile = NULL)

Arguments

targetID

character string of one known TargetID

optionsFile

-or- the name of an OptionsTable to extract the TargetID from

Details

This function is the way to configure any of the Duffy Lab packages to operate on a certain set of organisms. See Targets for full details. If optionFile is specified, the option called targetID is used as the value.

Value

Returns the now-current TargetID, as a character string. The main effect of this routine is to alter the family of species for subsequent analysis, by changing the information returned by the getCurrentTarget...() family of functions.

Examples

  setCurrentTarget("MT_H37")
  getCurrentTargetSpecies()
  setCurrentTarget("HsPf")
  getCurrentTargetSpecies()

robertdouglasmorrison/DuffyTools documentation built on April 16, 2024, 6:31 a.m.