make_geno_matrix: Make genotype matrix from sample and founder genotype data.

Description Usage Arguments Value

View source: R/internal.R

Description

Given input genotype data for cross samples and their founder strains, this function assigns a genotype symbol to each locus according to the inferred combination of founder alleles.

Usage

1
make_geno_matrix(x, y, alleles = NULL)

Arguments

x

Raw sample genotype matrix.

y

Raw founder genotype matrix.

alleles

Mapping of founder IDs to founder allele symbols.

Value

A founder genotype matrix, with genotypes encoded as integers and their corresponding genotype symbols in the attribute 'genotypes'.


gact/utl documentation built on June 1, 2021, 4:24 p.m.