Description Usage Arguments Value
Test mediation across set of indexed drivers for 'qtl2' data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## S3 method for class 'listof_mediation_qtl2'
plot(x, ...)
## S3 method for class 'listof_mediation_qtl2'
autoplot(x, ...)
ggplot_listof_mediation_qtl2(x, plot_type = c("all", "causal",
"reactive", "independent", "undecided"), minpvalue = 0.05,
id_name = "mediator_id", ...)
mediation_qtl2(target, mediator, annotation, covar_tar, covar_med, kinship,
genoprobs, map, drop_lod = 1.5, min_lod = 3, query_variant,
cores = 1, target_scan, ...)
## S3 method for class 'mediation_qtl2'
plot(x, ...)
## S3 method for class 'mediation_qtl2'
autoplot(x, ...)
ggplot_mediation_qtl2(x, response = c("pvalue", "IC"),
pattern_name = "pattern", ...)
|
... |
additional parameters for [mediation_index()] |
target |
vector or 1-column matrix with target values |
mediator |
vector or 1-column matrix with mediator values |
annotation |
optional annotation data frame for mediators |
covar_tar |
optional covariates for target |
covar_med |
optional covariates for mediator |
kinship |
optional kinship matrix among individuals |
map |
list of map positions |
drop_lod |
drop in 'LOD' (= 'LR/log(10)') to define index set |
query_variant |
function to query variant database |
cores |
number of cores to use |
target_scan |
optional object from [qtl2::scan1snps()] for target (created if missing) |
genoprob |
genoprob object of class [qtl2::calc_genoprob()] |
Object of class 'mediation_qtl2', which inherits from class [mediation_index()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.