compute.snps: Compute genotype/haplotype

Description Usage Arguments Value

View source: R/compute.snps.R

Description

Internal function for the computation of genotypes & haplotypes

Usage

1
2
3
4
compute.snps(population, gen, sex, nr, faster = TRUE,
  import.position.calculation = NULL, from_p = 1, to_p = Inf,
  decodeOriginsU = decodeOriginsR, bit.storing = FALSE, nbits = 30,
  output_compressed = FALSE)

Arguments

population

Population list

gen

Generation of the individual to compute

sex

Gender of the individual to compute

nr

Number of the individual to compute

faster

If FALSE use slower version to compute markers between recombination points

import.position.calculation

Function to calculate recombination point into adjacent/following SNP

from_p

First SNP to consider

to_p

Last SNP to consider

decodeOriginsU

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

bit.storing

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

nbits

Bits available in RekomBre-bit-storing

output_compressed

Set to TRUE to get a miraculix-compressed genotype/haplotype

Value

haplotypes for the selected individual


MoBPS documentation built on March 31, 2020, 5:22 p.m.

Related to compute.snps in MoBPS...