pred_lucid: Model Predictions for LUCID

Description Usage Arguments Value Author(s) References Examples

View source: R/pred_lucid.R

Description

pred_lucid produces predicted values for latent clusters and outcome with an IntClust object and new data.

Usage

1
pred_lucid(Fit = NULL, G = NULL, CoG = NULL, Z = NULL, Y = NULL, CoY = NULL)

Arguments

Fit

An IntClust class object

G

Genetic effects, a matrix

CoG

Covariates to be included in the G->X path

Z

Biomarker data, a matrix

Y

Disease outcome, a vector; default is NULL

CoY

Covariates to be included in the X->Y path

Value

pred_lucid returns a list containing predicted values.

pred_cluster

predicted probabilities for latent clusters with/without the outcome

pred_outcome

predicted values for outcome

Author(s)

Cheng Peng, Zhao Yang, David V. Conti

References

Cheng Peng, Jun Wang, Isaac Asante, Stan Louie, Ran Jin, Lida Chatzi, Graham Casey, Duncan C Thomas, David V Conti, A Latent Unknown Clustering Integrating Multi-Omics Data (LUCID) with Phenotypic Traits, Bioinformatics, , btz667, https://doi.org/10.1093/bioinformatics/btz667.

Examples

1
2
3
4
set.seed(10)
IntClusFit <- est_lucid(G=G1,Z=Z1,Y=Y1,K=2,family="binary",Pred=TRUE)
GPred <- G2[1:20,]; ZPred <- Z2[1:20,]
PRED <- pred_lucid(Fit = IntClusFit, G=GPred, CoG = NULL, Z=ZPred, CoY = NULL)

USCbiostats/LUCid documentation built on Feb. 22, 2020, 8:57 p.m.