mash_plot_effects: ggplot of single mash effect

Description Usage Arguments Note

View source: R/pvdiv_mash_results.R

Description

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

Usage

1
2
3
4
5
6
7
8
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.


Alice-MacQueen/switchgrassGWAS documentation built on Jan. 23, 2022, 7:55 p.m.