MiXcan_extract_weight: Extract the gene expression prediction weights matrix Extract...

Description Usage Arguments Value

View source: R/MiXcan_extract_weight.R

Description

Extract the gene expression prediction weights matrix Extract the gene expression prediction weights matrix (elastic net regression coefficients) from MiXcan() function. The output can be directly applied to GWAS data for cell-type specific TWAS.

Usage

1
MiXcan_extract_weight(MiXcan_model)

Arguments

MiXcan_model

A direct output from MiXcan() function, which includes the prediction weights as well as other summaries of the prediction models.

Value

A data frame with weight for cell 1 and 2, including the potential meta data for the SNP


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