phenoConverter | R Documentation |
Fonction to convert phenotype when the phenotype coded with plink convert plink to R coding phenotype
phenoConverter(x, phen.code = c("R", "plink"))
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 |
the bed matrix with converted phenotype
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.