View source: R/create_matrix.R
pass_infos | R Documentation |
Infer numerical values to nodes.
pass_infos(M, FUN, value)
M |
The dataframe returned by create_matrix. |
FUN |
The function to be applied when inferring the values. |
value |
The column name to which the function applies. |
An array of values.
data(LM_eukaryotes)
infos <- create_matrix(LM_eukaryotes$df, c("GC.", "Genes"))
inferred_values <- pass_infos(M = infos, FUN = mean, value = "GC.")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.