Description Usage Arguments Value Author(s) See Also Examples
updateAssayMetadata
Updates metadata into a particular assay file. See an example of use for a metabolite dataset at https://github.com/sneumann/mtbls2.
1 | updateAssayMetadata(isa, assay.filename, col.name, values)
|
isa |
An isatab object, as retrieved by the |
assay.filename |
the filename of the assay file to be augmented/modified |
col.name |
the name of the column of the assay file to be modified |
values |
the values to be added to the column of the assay file: it could be a single value, and in this case the value is repeated across the column, or it could be a list of values (whose length must match the number of rows of the assay file) |
The updated ISA-Tab object.
Alejandra Gonzalez-Beltran / Maintainer: Alejandra Gonzalez-Beltran, ISA Team <isatools@googlegroups.com>
readISAtab
, https://github.com/sneumann/mtbls2
1 2 3 4 | ### This example shows how to add values to the column "Derived Spectral Data File", assuming that the results are stored in the file "faahkoDSDF.txt"
faahkoISA = readISAtab(find.package("faahKO"))
assay.filename <- faahkoISA["assay.filenames"][[1]]
updateAssayMetadata(faahkoISA, assay.filename,"Derived Spectral Data File","faahkoDSDF.txt" )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.