process_fixed_vocab: Create factors for known fields with fixed vocabulary

Description Usage Arguments Value

Description

For metadata fields in the given data frame known to have a strictly fixed vocabulary (according to FIXED_VOCABULARY), convert each to a factor with levels corresponding to the vocabulary. For example, the library_layout column in an SRA metadata spreadsheet can only contain the values "Single" or "Paired".

Usage

1

Arguments

data

data frame to modify.

Value

data frame with recognized columns converted to factors.


ressy/srahelper documentation built on May 29, 2019, 11:03 p.m.