View source: R/tryxAdjustmentMV.R
tryxAnalyseMV | R Documentation |
Similar to tryx.analyse, but when there are multiple traits associated with a single variant then we use a LASSO-based multivariable approach
tryxAnalyseMV(
tryxscan,
lasso = TRUE,
plot = TRUE,
id_remove = NULL,
proxies = FALSE
)
tryxscan |
Output from |
lasso |
Whether to shrink the estimates of each trait within SNP. Default=TRUE. |
plot |
Whether to plot or not. Default is TRUE |
id_remove |
List of IDs to exclude from the adjustment analysis. It is possible that in the outlier search a candidate trait will come up which is essentially just a surrogate for the outcome trait (e.g. if you are analysing coronary heart disease as the outcome then a variable related to heart disease medication might come up as a candidate trait). Adjusting for a trait which is essentially the same as the outcome will erroneously nullify the result, so visually inspect the candidate trait list and remove those that are inappropriate. |
proxies |
Look for proxies in the MVMR methods. Default = FALSE. |
List
adj_full: data frame of SNP adjustments for all candidate traits
adj: The results from adj_full selected to adjust the exposure-outcome model
Q: Heterogeneity stats
estimates: Adjusted and unadjested exposure-outcome effects
plot: Radial plot showing the comparison of different methods and the changes in SNP effects ater adjustment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.