getTraits: Getting Traits Associated with Crops from the ICARDA's...

Description Usage Arguments Details Value Author(s) Examples

View source: R/getData.R

Description

Return a data frame containing traits associated with a particular crop, their description and related identifiers.

Usage

1
getTraits(crop)

Arguments

crop

character. Crop for which to get available traits.

Details

getTraits returns a data frame of traits together with their IDs and coding system used for each trait.

Possible inputs for crop include:

A list of available crops to use as input for crop can also be obtained from ICARDA's online server using getCrops.

Value

A data frame with traits that are associated with the crop specified in crop.

Author(s)

Khadija Aouzal, Amal Ibnelhobyb, Zakaria Kehel, Fawzy Nawar

Examples

1
2
3
4
5
6
7
## Not run: 
if(interactive()){
 # Get traits for bread wheat
 breadTraits <- getTraits(crop = 'Bread wheat')
 }

## End(Not run)

khadijaaziz/icardaFIGSr documentation built on Dec. 21, 2021, 6:38 a.m.