model_adjustment: Model Adjustemnt function using clinical factors

Description Usage Arguments Examples

View source: R/model_adjustment.r

Description

This function for adjusted the best performed model using the clinical factors inserted by the user It plots ROC for three models: model1 build using only seelcted pathways, model2 build using clinical factors and model3 build using selected pathways and the clinical factors

Usage

1
2
model_adjustment(result, PDSmatrix, selected_Pathways_Weka,
  clinical_factors_data, factors)

Arguments

PDSmatrix

the PDS matrix geneerated using PDSfun function

selected_Pathways_Weka

selected pathway using WEKA algorithm geneerated from featuresSelection function

clinical_factors_data

the metadata for the samples

factors

which the users want to add to the model

Examples

1
2
model_adjustment(result,PDSmatrix,selected_Pathways_Weka,clinical_factors_data,factors=c('Age','Race'))
model_adjustment(result,PDSmatrix,selected_Pathways_Weka,clinical_factors_data,factors=c('Age','Race'))

FADHLyemen/lilikoi_Fadhl documentation built on Aug. 7, 2019, 5:28 a.m.