manual_correction {dPCP} | R Documentation |
Manual correction of dPCP cluster analysis
Description
This function builds an interactive app to manually correct the dPCP cluster analysis.
Usage
manual_correction(
data,
filename,
save.plot = FALSE,
format = "png",
dpi = 300,
color.blind = FALSE
)
Arguments
data |
an object of class |
filename |
character. File name (no extension) for csv and pdf files to create on disk. |
save.plot |
logical. If TRUE the plots are exported to a file. |
format |
a string indicating the file format for the export. Available formats: 'eps', 'ps', 'tex', 'pdf', 'jpeg', 'tiff', 'png', 'bmp', 'svg', 'wmf'. |
dpi |
numeric. Image resolution. |
color.blind |
logical. If TRUE colors optimized for colorblind readers are used. |
Value
A Shiny session.
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)
manual_correction(results, filename = "manual_dPCR", save.plot = FALSE)
[Package dPCP version 2.0.1 Index]