Taxa's updated LHT picker
UpdatedLHTPicker.RdFetch, transform and build a dataframe with the updated LHT values per taxon obtained from FishLife
Methods
Method new()
Initialise the UpdatedLHTPicker class
Usage
UpdatedLHTPicker$new(
master_db,
predicting_lht_df,
updated_prefix,
transform_function_list,
backtransform_function_list,
lht_names = NULL
)Arguments
master_dbFishlife database
predicting_lht_dfdataframe keeping the original inputted LHTs per taxon
transform_function_listlist of transforming function which names must conform to FishLife's expectations
backtransform_function_listlist of backward-transformation functions to be applied on obtained LHT from FishLife
lht_nameslist of user-defined LHT names associated with their FishLife's counterparts
update_prefixstring to be added as prefix to the column names keeping the obtained new LHT values