powered by
Infer numerical values to nodes.
pass_infos(M, FUN, value)
An array of values.
The dataframe returned by create_matrix.
The function to be applied when inferring the values.
The column name to which the function applies.
data(LM_eukaryotes) infos <- create_matrix(LM_eukaryotes$df, c("GC.", "Genes")) inferred_values <- pass_infos(M = infos, FUN = mean, value = "GC.")
Run the code above in your browser using DataLab