renameAndSelectCols: Rename columns and remove everything unecessary

View source: R/cassavabasePipeline.R

renameAndSelectColsR Documentation

Rename columns and remove everything unecessary

Description

Rename columns and remove everything unecessary

Usage

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

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:

See Also

Other cassavabase_pheno_pipeline: calcPropMissing(), curateTrialOneTrait(), curateTrialsByTrait(), detectExptDesigns(), fitMultiTrialModel(), makeTrialTypeVar(), nestByTrials(), nestDesignsDetectedByTraits(), nestForMultiTrialAnalysis(), nestTrialsByTrait(), readDBdata()


wolfemd/genomicMateSelectR documentation built on July 1, 2022, 10:42 p.m.