View source: R/create_matrix.R
create_matrix | R Documentation |
Create a dataframe with pairs of taxids, each taxid and their corresponding values are associated with every one of its ancestors.
create_matrix(df, cols)
df |
A dataframe containing taxids and values. |
cols |
The columns containing the values which needs to be inferred. |
A dataframe.
data(LM_eukaryotes)
create_matrix(LM_eukaryotes$df, c("GC.", "Genes"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.