phecap_predict_phenotype: Predict Phenotype
Description
Compute predicted probability of having the phenotype
for each patient in the dataset.
Usage
phecap_predict_phenotype(data, model)
Arguments
data
an object of class PhecapData, obtained by calling PhecapData(...).
model
an object of class PhecapModel, probably returned from
phecap_train_phenotyping_model.
Value
A data.frame with two columns:
patient_indexpatient identifier
,
predictionpredicted phenotype
.