IMIX_cor_restrict {IMIX}R Documentation

IMIX-Cor-Restrict

Description

Fitting a correlated multivariate mixture model with restrictions on the mean. Input of summary statistics z scores or p values of two or three data types.

Usage

IMIX_cor_restrict(
  data_input,
  data_type = c("p", "z"),
  mu,
  cov,
  p,
  tol = 1e-06,
  maxiter = 1000,
  seed = 10,
  verbose = FALSE
)

Arguments

data_input

An n x d data frame or matrix of the summary statistics z score or p value, n is the nubmer of genes, d is the number of data types. Each row is a gene, each column is a data type.

data_type

Whether the input data is the p values or z scores, default is p value

mu

Initial value for the mean of the independent mixture model distribution. A vector of length 2*d, d is number of data types. Needs to be in a special format that corresponds to the initial value of mu, for example, if d=3, needs to be in the format of (null_1,alternative_1,null_2,alternative_2,null_3,alternative_3).

cov

A list of initial values for the covariance matrices. If there are three data types and 8 components, then the initial is a list of 8 covariance matrices, each matix is 3*3.

p

Initial value for the proportion of the distribution in the Gaussian mixture model

tol

The convergence criterion. Convergence is declared when the change in the observed data log-likelihood increases by less than epsilon.

maxiter

The maximum number of iteration, default is 1000

seed

set.seed, default is 10

verbose

Whether to print the full log-likelihood for each iteration, default is FALSE

Value

A list of the results of IMIX-cor-restrict

posterior prob

Posterior probability of each gene for each component

Full LogLik all

Full log-likelihood of each iteration

Full MaxLogLik final

The final log-likelihood of the converged model

iterations

Number of iterations run

pi

Estimated proportion of each component, sum to 1

mu

Estimated mean for the null and alternative of each data type: for two data types (mu10,mu11,mu20,mu21), three data types (mu10,mu11,mu20,mu21,mu30,mu31), mui0 is the null for data type i, mui1 is the alternative for data type i.

cov

A list of estimated variance-covariance matrix of each component

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>.


[Package IMIX version 1.1.5 Index]