Description Usage Arguments Details Value Author(s) Examples
Return a data frame containing traits associated with a particular crop, their description and related identifiers.
1 | getTraits(crop)
|
crop |
character. Crop for which to get available traits. |
getTraits
returns a data frame of traits together with their IDs and coding system used for each trait.
Possible inputs for crop
include:
'Aegilops'
'Barley'
'Bread wheat'
'Chickpea'
'Durum wheat'
'Faba bean'
'Faba bean BPL'
'Forage and range'
'Lathyrus'
'Lentil'
'Medicago annual'
'Not mandate cereals'
'Pisum'
'Primitive wheat'
'Trifolium'
'Vicia'
'Wheat hybrids'
'Wheat wild relatives'
'Wild Cicer'
'Wild Hordeum'
'Wild Lens'
'Wild Triticum'
A list of available crops to use as input for crop
can also be obtained from ICARDA's online server using getCrops
.
A data frame with traits that are associated with the crop specified in crop
.
Khadija Aouzal, Amal Ibnelhobyb, Zakaria Kehel, Fawzy Nawar
1 2 3 4 5 6 7 | ## Not run:
if(interactive()){
# Get traits for bread wheat
breadTraits <- getTraits(crop = 'Bread wheat')
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.