as.data.frame.genotypes: Convert genotypes to a dataframe

Description Usage Arguments Details Value

Description

Convert genotypes to a dataframe

Usage

1
2
## S3 method for class 'genotypes'
as.data.frame(gty, ...)

Arguments

gty

a genotypes object

...

ignored

Details

In general the dataframe will be a less-efficient way to store genotypes, but is a useful intermediate for writing genotypes to disk in a human-readable format.

Value

a data.frame with marker information in the leftmost columns, followed by a matrix of genotypes with samples in columns


andrewparkermorgan/argyle documentation built on May 10, 2019, 11:08 a.m.