parseAlleles: Translates tokens of an animal allele pairs to character...

Description Usage Arguments Value

View source: R/parseAlleles.R View source: R/makeAlleleRow.R

Description

Translates tokens of an animal allele pairs to character vectors in a list.

Translates raw rows of an animal allele file to a data.frame row

Usage

1
2
3
parseAlleles(tokens, alleleNames)

parseAlleles(tokens, alleleNames)

Arguments

tokens

A line from the animal allele file.

alleleNames

A character vector of the header values for the alleles. These correspond to the allele names.

Value

A vector suitable for row in an animal allele data.frame.

A vector suitable for row in an animal allele data.frame.


rmsharp/parentfindr documentation built on Nov. 29, 2020, 4:33 a.m.