Description Usage Arguments Details Value
Take a numeric vector and return the predicted vector computed as the arithmetic mean of all elements belonging to a same motif.
1 2 3 | predict_cal(fct, assMotifs, mOccur, xpr,
opt.mean = "amean",
opt.mod = "bymot" )
|
fct |
a vector of numeric values (assembly properties). |
assMotifs |
a vector of labels of |
mOccur |
a matrix of occurrence (occurrence of elements).
Its first dimension equals to |
xpr |
a vector of labels of |
opt.mean |
equal to |
opt.mod |
equal to |
Prediction is computed using arithmetic mean amean
by motif
bymot
in a whole (WITHOUT taking into account species contribution).
The elements belonging to a same motif are divided into jack[2]
subsets of jack[1]
elements. Prediction is computed by excluding
jack[1]
elements, of which the element to predict. If the total
number of elements belonging to the motif is lower than
jack[1]*jack[2]
, prediction is computed by Leave-One-Out (LOO).
Return the arithmetic mean of a vector, as standard mean
function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.