as.data.frame.genind: Converts genind to normal data.frame with 'locus' objects

Description Usage Arguments Value Author(s)

View source: R/as_data_frame.R

Description

This is a conversion function to translate an object of type genind from the adegenet package into a normal data frame with locus objects.

Usage

1
2
## S3 method for class 'genind'
as.data.frame(x, row.names, optional, ...)

Arguments

x

An object of type genind

row.names

ignored here

optional

ignored here

...

ignored here

Value

A data.frame object with loci represented as locus objects.

Author(s)

Rodney J. Dyer <rjdyer@vcu.edu>


MarianaLag/Mlag documentation built on Feb. 13, 2020, 12:30 a.m.