mash_plot_Ulist: ggplot of specific covariance matrix patterns

Description Usage Arguments Value

View source: R/mash-evaluation.R

Description

Creates a tile plot using ggplot of the covariance matrices specified in the mash model.

Usage

1
2
3
4
5
6
7
8
mash_plot_Ulist(
  m,
  range = NA,
  saveoutput = FALSE,
  suffix = "",
  limits = TRUE,
  labels = TRUE
)

Arguments

m

An object of type mash

range

Numeric vector. Which covariance matrices should be plotted?

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.

limits

Logical. Should there be plot limits of -1 and 1? Default is TRUE.

labels

Logical. Should each pairwise comparison proportion have a label? Default is TRUE.

Value

A list of dataframes used to make the tile plots and the plots themselves.


Alice-MacQueen/snpdiver documentation built on Dec. 17, 2021, 8:41 a.m.