predict_gmean_bymot: Geometric mean (gmean) by motif (bymot)

Description Usage Arguments Details Value

Description

Take the numeric vector fct and return a vector of same length, of which values are computed as the geometric mean of all vector elements belonging to a same motif. The motif of each vector element is specified in the vector assMotifs.

Usage

1
predict_gmean_bymot(fct, assMotifs)

Arguments

fct

a vector of numeric values (assembly properties).

assMotifs

a vector of labels of length(fct) (assembly motifs).

Details

Prediction is computed using geometric mean gmean by motif bymot in a whole (WITHOUT taking into account species contribution) by including all elements belonging to a same motif, even the one to predict.

Value

Return a vector of length(fct), of which values are computed as the geometric mean of all vector elements belonging to a same motif.


BenitoJaillard/combinAna documentation built on May 9, 2019, 2:17 a.m.