calibrate_gmean_bymot_xpr: Modelling of performances by assembly motif over several...

Description Usage Arguments Details Value See Also

View source: R/calibrating.R

Description

Take a vector fobs of assembly performances over several experiments and return a vector of performances predicted as the geometric mean of performances of all assemblages that share the same assembly motif.

Assembly motifs are labelled in the vector assMotif. Experiments are labelled in the vector xpr.

Usage

1
calibrate_gmean_bymot_xpr(fobs, assMotif, xpr)

Arguments

fobs

a numeric vector. The vector fobs contains the quantitative performances of assemblages.

assMotif

a vector of labels of length(fobs). The vector assMotif contains the assembly motifs of assemblages.

xpr

a vector of numerics of length(fobs). The vector xpr contains the weight of each experiment, and the labels (in names(xpr)) of different experiments. The weigth of each experiment is used in the computation of the Residual Sum of Squares in the function rss_clustering. All assemblages that belong to a given experiment should then have a same weigth. Each experiment is identified by its names (names(xpr)) and the RSS of each experiment is weighted by values of xpr. The vector xpr is generated by the function stats::setNames.

Details

Modelled performances are computed using geometric mean (opt.mean = "gmean") of performances of assemblages that share a same assembly motif (opt.model = "bymot"), experiment by experiment, by including all assemblages that belong to a same assembly motif.

Value

Return a vector of length(fobs). Its values are computed as the geometric mean of performances of assemblages that share a same assembly motif, experiment by experiment.

See Also

calibrate_amean_bymot_xpr arithmetic mean by assembly motif.
calibrate_amean_byelt_xpr arithmetic mean by elements occurring within assembly motif.
calibrate_gmean_bymot_xpr geometric mean by assembly motif.
calibrate_gmean_byelt_xpr geometric mean by elements occurring within assembly motif.


functClust documentation built on Dec. 2, 2020, 5:06 p.m.