Description Usage Arguments Value
View source: R/MiXcan_extract_weight.R
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.
1 | MiXcan_extract_weight(MiXcan_model)
|
MiXcan_model |
A direct output from MiXcan() function, which includes the prediction weights as well as other summaries of the prediction models. |
A data frame with weight for cell 1 and 2, including the potential meta data for the SNP
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.