Single Taxon LHT Predictor class
TaxonUpdatedLHTGetter.Rd
Class that given some LHTs will fetch their predicted version according to FishLife covariance
Super class
LHTpicker::MixinUtilities
-> TaxonUpdatedLHTGetter
Public fields
common_columns_ds
common columns across the underlying data structure of FishLife. Taxa's LHT could end up having additional fields that the overall covariance matrix does not support.
Methods
Method new()
Usage
TaxonUpdatedLHTGetter$new(
master_db,
estimated_lhts,
estimated_lht_cov,
new_lhts,
func_domains
)
Arguments
master_db
Fishlife database
estimated_lhts
taxon's LHT numeric vector as fetched from Fishlife.
new_lhts
predicting LHT list which names must conform to FishLife's expectations
func_domains
list of transforming function which names must conform to FishLife's expectations
estimated_lht_conv
taxon's covariance matrix as fetched from Fishlife
Method generate_new_lht_matrix()
Generate the new LHT matrix in shape and mathematical domain expected by Fishlife
Method predict()
Generate a matrix with the new predicted LHTs given some initial values, both in log and log-converted space