Process parsed phenotype data sheets into a tibble suitable for random forest analysis.
preparePhenotypeData(phenotypeData)
phenotypeData | parsed phenotype data collection sheet returned from |
---|
library(dplyr) ## Retrieve file paths for example data files <- list.files(system.file('phenotypeDataCollectionSheets', package = 'pdi'),full.names = TRUE) ## Prepare data d <- map(files,readPhenotypeSheet) %>% map(preparePhenotypeData)