This function generates the base matrices used in the network learning.
base.construct(data_observe,data_fitted, degree=3,
len.knots=3,data_fitted_cov,agent,x_cov)
The gene expression matrix.
The matrix containing varying intercepts.
The degree in the B-spline base. The default is 3
The number of knots. The default is 3
The matrix containing varying covariate effects
The imputed disease risk.
The vector including covariate values (eg., smoking: 0 and 1).
The list of four matrices based on varying intercepts (X_big), varying covariate effects (X_big_cov), varying intercepts with the column containing ones (X_big_int), and varying covariates with the column containing ones (X_big_int_cov).