export_csv {dPCP} | R Documentation |
Export dPCP analysis results to a csv file
Description
This function exports dPCP analysis results to a csv file.
Usage
export_csv(data, filename)
Arguments
data |
an object of class |
filename |
character. File name (no extension) for csv and pdf files to create on disk. |
Value
A csv file with the information and results of 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)
export_csv(results, filename = "dPCRproject_1")
[Package dPCP version 2.0.1 Index]