preparePhenotypeData {pdi}R Documentation

Prepare phenotype data

Description

Process parsed phenotype data sheets into a tibble suitable for random forest analysis.

Usage

preparePhenotypeData(phenotypeData)

Arguments

phenotypeData

parsed phenotype data collection sheet returned from readPhenotypeSheet

Examples

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)

[Package pdi version 0.4.2 Index]