Learn R Programming

BREADR (version 1.0.2)

saveSLICES: saveSLICES

Description

Plots all pairwise diagnostic plots (in a tibble as output by callRelatedness), as produced by plotSLICE, to a folder. Options include the width and height of the output files, and the units in which these dimensions are measured.

Usage

saveSLICES(
  in_tibble,
  outFolder = NULL,
  width = 297,
  height = 210,
  units = "mm",
  verbose = TRUE
)

Value

nothing

Arguments

in_tibble

a tibble that is the output of the callRelatedness() function.

outFolder

the folder into which all diagnostic plots will be saved

width

the width of the output PDFs.

height

the height of the output PDFs.

units

the units for the height and width of the output PDFs.

verbose

Controls the printing of progress to console.

Examples

Run this code
# \donttest{
saveSLICES(relatedness_example[1:3, ], outFolder = tempdir())
# }

Run the code above in your browser using DataLab