powermarker_genepop: Convert Powermarker format to Genepop

View source: R/powermarker_genepop.R

powermarker_genepopR Documentation

Convert Powermarker format to Genepop

Description

Function converts Powermarker to standard Genepop format

Usage

powermarker_genepop(powermarker, missing_data, path, sampleid = TRUE)

Arguments

powermarker

the powermarker data to be manipulated. The first column should be the 'POP_ID' column which identifies the populations. The second column should be 'Sample_ID' which designates the individual sample IDs. The remaining columns contain the locus alleles in the format of 'A/A' etc.

missing_data

The symbol (typically "-", "?", or "9") which will be replaced with 000.

path

the filepath and filename of output.

sampleid

Whether you want the sampleid in your Genepop to be based off the 'Sample_ID' column (TRUE) or the 'POP_ID' column (FALSE) in the powermarker file


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