Creates a plot with point estimates and standard errors for effects of a single SNP in multiple conditions.

mash_plot_effects(
  m,
  n = NA,
  i = NA,
  marker = TRUE,
  saveoutput = FALSE,
  suffix = ""
)

Arguments

m

An object of type mash

n

Optional. Integer or integer vector. The result number to plot, in order of significance. 1 would be the top result, for example. Find these with get_significant_results.

i

Optional. Integer or integer vector. The result number to plot, in the order of the mash object. 1 would be the first marker in the mash object, for example. Find these with get_marker_df.

marker

Optional. Print the marker name on the plot?

saveoutput

Logical. Should the output be saved to the path?

suffix

Character. Optional. A unique suffix used to save the files, instead of the current date & time.

Note

Specify only one of n or i.