Skip to contents

Creates a dataframe suitable for input to package {Demerelate} from a genlight {adegenet} object

Usage

gl2demerelate(x, verbose = NULL)

Arguments

x

Name of the genlight object containing the SNP data [required].

verbose

Verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log; 3, progress and results summary; 5, full report [default 2 or as specified using gl.set.verbosity]

Value

A dataframe suitable as input to package {Demerelate}

Author

Custodian: Luis Mijangos (Post to https://groups.google.com/d/forum/dartr)

Examples

df <- gl2demerelate(testset.gl)
#> Starting gl2demerelate 
#>   Processing genlight object with SNP data
#> Completed: gl2demerelate 
#>