report_dPCP {dPCP}R Documentation

Export dPCP analysis results to a pdf report

Description

This function generates a pdf report of the dPCP analysis.

Usage

report_dPCP(data, filename, sample = "all", color.blind = FALSE)

Arguments

data

an object of class dPCP, inherited from dPCP.

filename

character. File name (no extension) for csv and pdf files to create on disk.

sample

'all' to show all samples, or a numeric vector indicating the row number of samples in the sample table.

color.blind

logical. If TRUE colors optimized for colorblind readers are used.

Value

A pdf file with the information and results of the dPCP analysis.

Examples


library(dPCP)

#Find path of sample table and location of reference and input files
sampleTable <- system.file("extdata", "Template_sampleTable.csv",
                     package = "dPCP")

fileLoc <- system.file("extdata", package = "dPCP")

#dPCP analysis
results <- dPCP(sampleTable, system = "bio-rad", file.location = fileLoc,
                eps = 200, minPts = 50, save.template = FALSE,
                rain = TRUE)

report_dPCP(results, filename = "dPCRproject_1")


[Package dPCP version 2.0.1 Index]