phecap_predict_phenotype: Predict Phenotype

Description Usage Arguments Value See Also

View source: R/utils.R

Description

Compute predicted probability of having the phenotype for each patient in the dataset.

Usage

1

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_index

patient identifier

,

prediction

predicted phenotype

.

See Also

See PheCAP-package for code examples.


PheCAP documentation built on Sept. 17, 2020, 5:07 p.m.