powered by
Takes a table where each row consists of character ID + an ontology annotation and returns a list. Each character is assigned its own ID CHAR:XXXX
table2list(table, id_col = c(1), descendants_cols = c(2:ncol(table)))
A character table with annotations.
A column ID corresponding to character
IDs of columns corresponding to character annotations
The list.
# NOT RUN { # converting Sharkey_2011 dataset to list of character states table2list(Sharkey_2011) # }
Run the code above in your browser using DataLab