addTarget: Add a Target Organism(s) to DuffyTools Environment

addTargetR Documentation

Add a Target Organism(s) to DuffyTools Environment

Description

Defines a new Target as a set of one or more organisms

Usage

addTarget(targetID, speciesSet = targetID, 
	  prefixSet = speciesSet, mapset.path = NULL)

Arguments

targetID

character string, giving the name for this new target

speciesSet

character string, giving the comma separated list of speciesIDs

prefixSet

character string, giving the comma separated list of filename prefixes

mapset.path

folder name for search location for user-defined MapSets

Details

A target defines the set of organisms to be used for subsequent analyses. The list of speciesID(s) and prefix(s) tell the program which MapSet(s) and organism-specific filenames to use.

Value

If successfully loaded, the name of the target as a character string

See Also

MapSets, for an overview of organism annotation getCurrentTarget, getCurrentTargetSpecies, getCurrentTargetFilePrefix, for details about the current target getAllTargets, for the table of all currently known targets

Examples

	addTarget( "HsPf", "Pf3D7,Hs_grc", "Pf,Hs")

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