setCurrentTarget: Change the Current Target

Description Usage Arguments Details Value Examples

Description

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

Usage

1
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

1
2
3
4

robertdouglasmorrison/DuffyTools documentation built on Dec. 14, 2018, 3:05 p.m.