loadMetaForm | R Documentation |
Load and transform our CRUK CI Bioinfomratics Core metadata template into a table suitable for the PlateLayout package
loadMetaForm(xlsFile)
xlsFile |
The metadata template Excel file |
The function takes the path for an Excel file containing completed
CRUK CI metadata template and transforms it into a table suitable for use
with the randomizeSinglePlate
function.
When loading the Excel file the function skips the first row, making the headers from the second (hidden) row in the template. The third row in the template contains a contents description for each column and so is removed from the table.
Any columns that are completely empty are removed. NA
is
replaced with a blank characer vector.
The cleaned metadata as a tibble and exports a tsv version
metadataFile <- system.file("extdata", "metadata_template_example.xls", package = "PlateLayout") metadataTable <- loadMetaForm(metadataFile) metadataTable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.