Skip to contents

Generate visual library prep pcr quality control report

Usage

pcr_lib_qc_report(pcr_lib_qc, report_path = NULL)

Arguments

pcr_lib_qc

output from pcr_lib_qc

report_path

the name of the report as well as where it should be output. If NULL, it will export to a temp directory

Value

The path to the report

Examples

system.file("extdata", "untidy-standard-curve.xlsx", package = "amplify") |>
  pcr_tidy() |>
  pcr_lib_calc() |>
  pcr_lib_qc() |>
  pcr_lib_qc_report()
#> Warning: cannot create dir '', reason 'No such file or directory'
#> Warning: path[1]="": The filename, directory name, or volume label syntax is incorrect
#> 
#> 
#> processing file: pcr-lib-qc.Rmd
#> 
  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |.....                                                                 |   8%
#>    inline R code fragments
#> 
#> 
  |                                                                            
  |...........                                                           |  15%
#> label: unnamed-chunk-1 (with options) 
#> List of 2
#>  $ echo   : logi FALSE
#>  $ message: logi FALSE
#> 
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union
#> 
  |                                                                            
  |................                                                      |  23%
#>   ordinary text without R code
#> 
#> 
  |                                                                            
  |......................                                                |  31%
#> label: standards_plot (with options) 
#> List of 4
#>  $ echo      : logi FALSE
#>  $ warning   : logi FALSE
#>  $ fig.height: num 3
#>  $ out.width : chr "100%"
#> 
#> Warning: cannot create dir '\\2021-12-03_pcr_lib_qc_report58a4167c4d05_files\figure-html', reason 'No such file or directory'
#> Warning: unable to open file '//2021-12-03_pcr_lib_qc_report58a4167c4d05_files/figure-html/standards_plot-1.png' for writing
#> Warning: opening device failed
#> Quitting from lines 21-22 (pcr-lib-qc.Rmd) 
#> Error in png(..., res = dpi, units = "in"): unable to start png() device
#>