phenoConverter: Fonction to convert phenotype when the phenotype coded with...

phenoConverterR Documentation

Fonction to convert phenotype when the phenotype coded with plink convert plink to R coding phenotype

Description

Fonction to convert phenotype when the phenotype coded with plink convert plink to R coding phenotype

Usage

phenoConverter(x, phen.code = c("R", "plink"))

Arguments

x

the bedmatrix

phen.code

type of coding phenotype 'R' or 'plink' R : 0:control ; 1:cases ; NA:unknown (default) plink : 1:control ; 2:cases ; 0/-9/NA:unknown

Value

the bed matrix with converted phenotype


genostats/FEstim documentation built on Feb. 3, 2023, 7:33 p.m.