as.data.frame,Phenotypes-method {gespeR} | R Documentation

## Convert Phenotypes object to a data.frame

### Description

Convert Phenotypes object to a data.frame

### Usage

    ## S4 method for signature 'Phenotypes'
    as.data.frame(x)

### Arguments

`x` | A `Phenotypes` object

### Value

A data.frame

### Author(s)

Fabian Schmich

### Examples

    phenos <- Phenotypes(system.file("extdata", "Phenotypes_screen_A.txt", package = "gespeR"),
    type = "SSP",
    col.id = 1,
    col.score = 2)
    as.data.frame(phenos)

[Package gespeR version 1.12.0 Index]