split_haploid: Split a haploid array into chromosomes

View source: R/geno_functions.R

split_haploidR Documentation

Split a haploid array into chromosomes

Description

Split a haploid array into chromosomes

Usage

split_haploid(genome, geno)

Arguments

genome

An object of class genome.

geno

Array of haploid genotypes. Must be an array of dimensions 2 x n.loci x n.ind, the elements of which must be z 0, 1.

Value

A list of haploid arrays, split by chromosome.


neyhartj/qgsim documentation built on Nov. 11, 2023, 4:08 p.m.