MiXcan_association: Association analysis with MiXcan predicted gene expression...

Description Usage Arguments Value

View source: R/MiXcan_association.R

Description

Association analysis with MiXcan predicted gene expression levels

Usage

1
MiXcan_association(MiXcan_predicted_expr, covariates, outcome, family)

Arguments

MiXcan_predicted_expr:

A N by 2 matrix indicating the predicted gene expression levels in two cell types. If a non-specific model is used for prediction, the predicted values should be the same in two cell types.

covariates:

A N by P matrix for the covariates in association analysis.

outcome:

The dependent variable of the association analysis. It can be continuous, categorical and count variables, and modeled through generalized linear models (GLM).

family:

Same as the family object used in GLM.

Value

A tibble showing the estimate, standard error, p value for cell 1 and 2 and the combined p value using the Cauchy combination.


JiayiJi/MiXcan documentation built on Dec. 18, 2021, 1:30 a.m.