Learn R Programming

reGenotyper (version 1.2.0)

optimalGT: Compute the best-fitted genotype data based on the phenotype

Description

This function provides the estimated genotype from the phenotype data. This is a subfunction used in reGenotyper

Usage

optimalGT(delta.t.mat.allmk.list, gt0, gt.thres = 0, optGTplot = FALSE)

Arguments

delta.t.mat.allmk.list
a list with length being nMK; each element is a matrix with nSample by nSigGene; each element matrix is deltaT for each sigGene(row) when genotype of sample i (column) is perturbed;
gt0
original genotype data
gt.thres
threshold to decide if thr original genotype is correct
optGTplot
If TRUE it produces a plot of the genotype with two colors: green and red color indicate the original genotype of a sample (column) at certain marker (row) is correct or correct, respectively.

References

Li Y et al, reGenotyper: detecting mislabeled samples in genetic data (submitted)

See Also

reGenotyper