makeFounderGenoMatrix: Make founder genotype matrix from genotype data.

Description Usage Arguments Value

View source: R/geno.R

Description

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

Usage

1
makeFounderGenoMatrix(x, y, alleles = NULL)

Arguments

x

Raw sample genotype array.

y

Raw founder genotype array.

alleles

Mapping of founder sample 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/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.