visualizations: Write all relevant visualizations to pdf

Description Usage Arguments Details

View source: R/visualization_utils.R

Description

A wrapper around all the major visualization functions, used for visualizing data between major steps of data preprocessing. Saves all visualizations as PDFs with a set prefix on filenames.

Usage

1
visualizations(object, prefix, perplexity = 30, merge = FALSE)

Arguments

object

A MetaboSet object

prefix

character, a file path prefix added to the file paths

perplexity

perplexity for t-SNE plots

merge

logical, whether the files should be merged to a single PDF, see Details

Details

If merge is TRUE, then a file containing all the visualizations named prefix.pdf will be created. NOTE: on Windows this requires installation of pdftk (https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/) and on Linux you need to have pdfunite installed. Mac is not yet supported.


antonvsdata/amp documentation built on Jan. 8, 2020, 3:15 a.m.