summarizeSyntheticDataSet: Summarize a synthetic data set by some diagnostic plots

View source: R/generateSyntheticData.R

summarizeSyntheticDataSetR Documentation

Summarize a synthetic data set by some diagnostic plots

Description

Summarize a synthetic data set (generated by generateSyntheticData) by some diagnostic plots.

Usage

summarizeSyntheticDataSet(data.set, output.filename)

Arguments

data.set

A data set, either a compData object or a path to an .rds file where such an object is stored.

output.filename

The filename of the resulting html report (including the path).

Author(s)

Charlotte Soneson

Examples

tmpdir <- normalizePath(tempdir(), winslash = "/")
mydata.obj <- generateSyntheticData(dataset = "mydata", n.vars = 1000,
                                    samples.per.cond = 5, n.diffexp = 100,
                                    output.file = file.path(tmpdir, "mydata.rds"))
if (interactive()) {
  summarizeSyntheticDataSet(data.set = file.path(tmpdir, "mydata.rds"),
                            output.filename = file.path(tmpdir, "mydata_check.html"))
}

csoneson/compcodeR documentation built on Nov. 3, 2024, 6:05 a.m.