Learn R Programming

gespeR (version 1.4.2)

as.data.frame,Phenotypes-method: Convert Phenotypes object to a data.frame

Description

Convert Phenotypes object to a data.frame

Usage

## S3 method for class 'Phenotypes':
as.data.frame(x)

Arguments

x
A Phenotypes object

Value

  • A data.frame

Examples

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

Run the code above in your browser using DataLab