R/generateSyntheticData.R
summarizeSyntheticDataSet.Rd
Summarize a synthetic data set (generated by generateSyntheticData
) by some diagnostic plots.
summarizeSyntheticDataSet(data.set, output.filename)
A data set, either a compData
object or a path to an .rds
file where such an object is stored.
The filename of the resulting html report (including the path).
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"))
}