tableToMeta: tableToMeta

Description Usage Arguments Value Examples

Description

Outputs a metadata field in pseudo-GFF format for the zenbu_upload command-line utility.

Usage

1

Arguments

df

A data frame where each column is one source of metadata and each row corresponds to one file to be uploaded (sorted in the appropriate order).

Value

Returns a character vector of key-value pairs in “pseudo-GFF” format ( like “key1=value1;key2=value2”), with one element per line in the input data frame, that will be coerced to characters before being used to build the pseudo-GFF string.

Examples

1
tableToMeta(data.frame(numbers=1:3, booleans=c(T, T, F), characters=c("a", "b", "c")))

charles-plessy/zenbuWrappeR documentation built on May 13, 2019, 3:32 p.m.