Rename columns and remove everything unecessary

renameAndSelectCols(traitabbrevs, indata, customColsToKeep = NULL)

Arguments

traitabbrevs

data.frame with 2 cols (TraitAbbrev and TraitName). TraitName should match exactly to cassava ontology names

indata

data.frame read from cassavabase download

customColsToKeep

char. vec. of any custom cols you added and want to keep

Value

Details

NOTICE: This function is part of a family of functions ("cassavabase_pheno_pipeline") developed as part of the NextGen Cassava Breeding Project genomic selection pipeline. For some examples of their useage: