Description Usage Arguments Value
Function computes corrected phenotype using misclassification probability for each sample.
1 2 | get_phenotype(misclassified.p.cases = NULL, misclassified.p.controls = NULL,
y, case.threshold = NULL, control.threshold = NULL)
|
misclassified.p.cases |
vector of misclassification probabilities for cases. If absent, only controls are switched |
misclassified.p.controls |
vector of misclassification probabilities for controls. If absent, only cases are switched |
y |
Vector of observed phenotype |
case.threshold |
Threshold = percentile cut-off on misclassification probabilities. All cases with Pr(misclassification) > percentile threshold are switched to controls. (Default value: .99 i.e 99th percentile) |
control.threshold |
Threshold = percentile cut-off on misclassification probabilities. All controls with Pr(misclassification) > percentile threshold are switched to cases. (Default value: .99 i.e 99th percentile) |
Modified Phenotype according to misclassification probabilities provided
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.