Learn R Programming

functClust (version 0.1.6)

compute_motif_stats: Statistics of assembly motifs

Description

Take a matrix of tree calibrations, a matrix of tree predictions, a matrix of assembly motifs, and return statistics of each observed assembly motif.

Usage

compute_motif_stats(tCal, tPrd, mMotifs)

Arguments

tCal

a numeric matrix. This matrix is the matrix of performances predicted by the valid tree model.

tPrd

a numeric matrix. This matrix is the matrix of performances predicted by cross-validation.

mMotifs

a numeric matrix. This matrix is the matrix of assembly motifs.

Value

Returns the statistics for each assembly motif.

Details

The different assembly motifs have different length: the motif set can be treated as a list. Each assembly motif is separately analysed.

  • uTab: the assemblages that belong to the assembly motif,

  • uMean: the arithmetic mean of motif performances,

  • uSd: the standard deviation of motif performances,

  • uRmse: the Root Mean Square Error of motif performances,

  • uR2: the Coefficient of determination of motif performances,

  • uSlope: the slope of linear regression with motif performances.