crtbase: Create base vector

Description Usage Arguments Value Author(s) Examples

View source: R/crtbase.R

Description

This function creates a vector containing the base of the loci in a chromosome.

Usage

1
crtbase(Lind, Base=NULL)

Arguments

Lind

a number or vector containing the lengths of the alleles. Sum(Lind) is the length of the corresponding chromosome.

Base

a number or vector containing the base of the loci contained in the Alleles. Default is set to binary representation.

Value

a vector whose elements correspond to the base of the loci of the associated chromosome structure.

Author(s)

The original matlab implementation of mutate was written by Andrew Chipperfield. The R implementation was written by David Zhao.

Examples

1
Base = crtbase(10)

drizztxx/gatbxr documentation built on Dec. 27, 2021, 2:26 a.m.