R/cassavabasePipeline.R
renameAndSelectCols.RdRename columns and remove everything unecessary
renameAndSelectCols(traitabbrevs, indata, customColsToKeep = NULL)data.frame with 2 cols (TraitAbbrev and TraitName). TraitName should match exactly to cassava ontology names
data.frame read from cassavabase download
char. vec. of any custom cols you added and want to keep
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:
Other cassavabase_pheno_pipeline:
calcPropMissing(),
curateTrialOneTrait(),
curateTrialsByTrait(),
detectExptDesigns(),
fitMultiTrialModel(),
makeTrialTypeVar(),
nestByTrials(),
nestDesignsDetectedByTraits(),
nestForMultiTrialAnalysis(),
nestTrialsByTrait(),
readDBdata()