microhaplot2rubias: Convert MicroHaplot file to rubias format

Description Usage Arguments Author(s)

View source: R/microhaplot2rubias.R

Description

Converts a reference or mixture file from the MicroHaplot package to the proper format for the rubias package

Usage

1
microhaplot2rubias(x, sample.type = c("reference", "mixture"))

Arguments

x

data frame from MicroHaplot or the name a of .csv file.

sample.type

determines type of MicroHaplot sample. Can be any unambiguous substring of "reference" or "mixture".

Author(s)

Eric Archer eric.archer@noaa.gov Converted from code by John Horne (https://johnbhorne.wordpress.com/2019/03/22/snp-haplotypes-for-mixed-stock-fishery-analysis-microhaplot-to-rubias-conversion-in-r/)


EricArcher/swfscGenetics documentation built on May 25, 2021, 3:46 a.m.