Skip to contents

Class that given some LHTs will fetch their predicted version according to FishLife covariance

Value

matrix-form LHT values to be passed on to FishLife

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

Inherited 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

Usage

TaxonUpdatedLHTGetter$generate_new_lht_matrix()


Method predict()

Generate a matrix with the new predicted LHTs given some initial values, both in log and log-converted space

Usage

TaxonUpdatedLHTGetter$predict()


Method clone()

The objects of this class are cloneable with this method.

Usage

TaxonUpdatedLHTGetter$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.