R/TableFits.R
LookupFit.Rd
Lookup a fit vector for a given tree and model mapping in a data.table of previously run fits.
LookupFit( tree, modelTypes, modelMapping, tableFits, hashCodes = HashCodes(tree = tree, modelTypes = modelTypes, startingNodesRegimesLabels = PCMTreeGetLabels(tree)[PCMTreeGetPartition(tree)], modelMapping = modelMapping) )
tree | a phylo object |
---|---|
modelTypes | character vector |
modelMapping | an integer or character vector to be matched against modelTypes |
tableFits | a data.table having at least the following columns:
|
hashCodes | the result of calling |
the corresponding fit-vector to the given tree and model mapping or if no such entry is found, issues an error.