knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Alternatively, you can also specify the path as an argument to the function. Per convention, the path has to have a trailing / and ends in the directory in which the actual images are located. It is very important to have the trailing /, as the script uses the path to determine the plate name etc.
R -q -e "library(dcphelper); dcphelper::create_flatfield_metadata(channel = 'ch2')" # Be careful with the "" vs. '' quotes.
The function runs in mutliple steps.
The output of the function is located in ~/metadata and has the name of the directory in it. You have to manually make a copy of the file and rename it to metadata_bf.csv so it gets processed by cellprofiler as of now. This might change in future versions of the pipeline.
metadata <- dcphelper::create_flatfield_metadata_split(channel = 'ch2')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.