dot-change_missing: change SNPs with genotype 'Fail' to 'NA'

.change_missingR Documentation

change SNPs with genotype 'Fail' to NA

Description

change SNPs with genotype 'Fail' to NA

Usage

.change_missing(s_gt, missing = "Fail")

Arguments

s_gt

a column of labelled genotypes

missing

the string used for encoding missing values default to Fail

Details

calculation.

Value

a vector of genotypes with Fail substituted by 'NA'

Author(s)

Ruqian Lyu


ruqianl/comapr documentation built on Dec. 24, 2024, 9:35 p.m.