50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

DCLEAR (version 1.0.13)

WH_train_fit: Train weights for WH, and output distance object

Description

Train weights for WH using the given data, and fit the distance matrix for a input sequence.

Usage

WH_train_fit(x, X)

Value

a dist object

Arguments

x

input data in phyDat format

X

a list of k number of input data, X[[1]] ... X[[k]]. The ith data have sequence information as phyDat format in X[[i]][[1]], and tree information in X[[i]][[2]] as phylo format.

Author

Il-Youp Kwak (ikwak2@cau.ac.kr)