plot_component: Plot the AIC or BIC Values for Model Selection

View source: R/plot_component.R

plot_componentR Documentation

Plot the AIC or BIC Values for Model Selection

Description

Plot the result output of model selection for components based on AIC and BIC values in IMIX

Usage

plot_component(res_select, type = c("AIC", "BIC"))

Arguments

res_select

Result output from function model_selection_component()

type

Which information criteria to use for plot

Value

Plot for the model selection of components

References

Ziqiao Wang and Peng Wei. 2020. “IMIX: a multivariate mixture model approach to association analysis through multi-omics data integration.” Bioinformatics. <doi:10.1093/bioinformatics/btaa1001>.

Examples


# First load the data
data("data_p")

# Perform model selections on the data
select_comp1 <- model_selection_component(data_p, data_type = "p", seed = 20)

# Make a plot for BIC values
plot_component(select_comp1, type = "BIC")


IMIX documentation built on July 14, 2022, 1:05 a.m.

Related to plot_component in IMIX...