Raw File
Tip revision: be291479202d9ca826914b9bf0fe0b8efa26e6c3 authored by Martin Lysy on 22 August 2022, 08:20:12 UTC
version 1.1.4
Tip revision: be29147
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geno.format.R
\title{Format genotype matrix}
geno.format(X, Y.only = TRUE)
\item{X}{Genotype matrix or data.frame.}

\item{Y.only}{Logical.  Whether or not to output only \code{Y} (see return).}
A list with elements
\code{Y}: A 4-column numeric matrix.  Each row is sorted with zeros indicating missing alleles.
\code{A}: Vector of allele names.
\code{G}: Unique allele combinations, i.e. \code{Y} without duplicated rows.
Convert a 4-column genotype matrix or data.frame into a simplified numerical format.
back to top