plot.cause: Plot CAUSE

Description Usage Arguments Details

Description

Plot posteriors for sharing and causal models, display summary tables

Usage

1
2
## S3 method for class 'cause'
plot(res, intern = FALSE, type = c("posteriors", "data"), pval_thresh = 5e-08)

Arguments

res

object of class cause

intern

If TRUE, function returns a list of grobs. Otherwise it plots.

type

Either "posteriors" or "data". See details.

pval_thresh

p-value threshold used if type=="data".

Details

If type == "posteriors", the function will plot the posterior distributions of the parameters and display summary tables giving medians and credible intervals. If type == "data" the function will plot the data thresholded on the trait 1 p-value if using pval_thresh.


jean997/cause documentation built on Dec. 25, 2021, 10 p.m.