genepop_unflatten: Convert to Genepop format from a flattened dataframe.

View source: R/genepop_unflatten.R

genepop_unflattenR Documentation

Convert to Genepop format from a flattened dataframe.

Description

Function returns Genepop file meta-data.

Usage

genepop_unflatten(df, path)

Arguments

df

dataframe with the first column holding sampleIDs (e.g. BON_01) and the remaining columns holding loci. Column names of loci will be used as loci names in the genepop output. df must be an object in the workspace.

path

the filepath and filename of output.


rystanley/genepopedit documentation built on June 27, 2023, 11:33 p.m.