phecap_predict_phenotype {PheCAP} | R Documentation |
Compute predicted probability of having the phenotype for each patient in the dataset.
phecap_predict_phenotype(data, model)
data |
an object of class |
model |
an object of class |
A data.frame
with two columns:
patient_index |
patient identifier |
,
prediction |
predicted phenotype |
.
See PheCAP-package
for code examples.