# # # R代码从装饰图案的ddPCRclust来源。Rnw“# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #代码块1号:风格# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # BiocStyle::乳胶()# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #代码块2号:ddPCRclust。Rnw: 103 - 124 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #库(ddPCRclust) #读取文件exampleFiles < - list.files (paste0 (find.package (ddPCRclust) / extdata), full.names = TRUE)文件< - readFiles (exampleFiles[3]) #阅读所有示例文件取消注释以下行#文件< - readFiles (exampleFiles[1:8]) #阅读模板模板< - readTemplate (exampleFiles[9]) #运行ddPCRclust结果< - ddPCRclust(文件、模板)#图结果库(ggplot2) p < - ggplot (data =结果B01数据,美元= aes (x = Ch2的映射。振幅,y = Ch1.Amplitude) p < - p + geom_point (aes(颜色=因素(集群),大小= 5,na。rm = TRUE) + ggtitle (B01例子)+ theme_bw() +主题(legend.position = '没有')p