GT2DS: Convert GT to ALT allele dosage (DS)

View source: R/GT2DS.R

GT2DSR Documentation

Convert GT to ALT allele dosage (DS)

Description

Convert GT to ALT allele dosage (DS)

Usage

GT2DS(GT, diploidize = FALSE, n.core = 1)

Arguments

GT

GT string

diploidize

TRUE/FALSE

n.core

number of cores

Details

If diploidize is TRUE, data are recoded as a diploid (0,1,2).

Value

integer data with same dimensions as GT


jendelman/polyBreedR documentation built on Jan. 5, 2025, 12:13 a.m.