edit_animal {MoBPS}R Documentation

Internal gene editing function

Description

Internal function to perform gene editing

Usage

edit_animal(
  population,
  gen,
  sex,
  nr,
  nr.edits,
  decodeOriginsU = decodeOriginsR,
  bit.storing = FALSE,
  nbits = 30
)

Arguments

population

Population list

gen

Generation of the individual to edit

sex

Gender of the individual to edit

nr

Number of the individual to edit

nr.edits

Number of edits to perform

decodeOriginsU

Used function for the decoding of genetic origins [[5]]/[[6]]

bit.storing

Set to TRUE if the MoBPS (not-miraculix! bit-storing is used)

nbits

Bits available in MoBPS-bit-storing

Value

animal after genome editing


[Package MoBPS version 1.6.64 Index]