compute_motif_statsR Documentation

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.

Details

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

Value

Returns the statistics for each assembly motif.