convert_factor: Function to convert any column with information about functional groups
to a factor whose levels use the LongName of the functional groups file.
Description
This function is used to match the labels of the plots!
Usage
convert_factor(data_fgs, col)
Arguments
data_fgs
Dataframe with information about functionalGroups.
Usually loaded with load_fgs().
col
Column of the dataframe which is converted to a factor.
Value
Column of a dataframe in factor format.