MiXcan_prediction: Predict the cell-type specific or non-specific expression...

Description Usage Arguments Value

View source: R/MiXcan_prediction.R

Description

Predict the cell-type specific or non-specific expression levels of a gene with MiXcan model in new genetic data.

Usage

1
MiXcan_prediction(weight, new_x)

Arguments

weight

Weight matrix produced by MiXcan_extract_weight()

new_x

The genetic data used for prediction in a new data set.

Value

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.


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