getPhenotypeDF: Get an R/'DataFrame' phenotype data frame from TASSEL object

View source: R/phenotype_functions.R

getPhenotypeDFR Documentation

Get an R/DataFrame phenotype data frame from TASSEL object

Description

This function will extract a DataFrame-based R data frame from an object of TasselGenotypePhenotype class that contains phenotypic data. Column data will be converted to the following types data depending on TASSEL data type:

  • <taxa>: character

  • <data>: numeric

  • <covariate>: numeric

  • <factor>: factor

Usage

getPhenotypeDF(tasObj)

Arguments

tasObj

An object of class TasselGenotypePenotype.

Value

Returns an DataFrame based data frame


maize-genetics/rTASSEL documentation built on Nov. 13, 2023, 7:18 a.m.