genoDoses2ASMap: Convert genotypes

View source: R/quantgen.R

genoDoses2ASMapR Documentation

Convert genotypes

Description

Convert SNP genotypes of a bi-parental cross from "allele doses" for usage in the "ASMap" package.

Usage

genoDoses2ASMap(X = NULL, tX = NULL)

Arguments

X

matrix of bi-allelic SNP genotypes encoded, for each SNP, in number of copies of its second allele, i.e. as allele doses in 0,1,2, with genotypes in rows and SNPs in columns; the "second" allele is arbitrary, it can correspond to the minor (least frequent) or the major (most frequent) allele

tX

matrix with SNPs in rows and genotypes in columns

Value

list of two data frames, one per parental map

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 12, 2025, 11:35 p.m.