Description Usage Arguments Value Note
View source: R/consol_functions.R
Order the entries in a column so that they are displayed in this order for graphs, rather than alphabetically.
1 | reorder_samples(table, column, list)
|
table |
A tibble |
column |
A character, the title of a column of table to be ordered |
list |
A character list, a list of column entries in the correct order for graphing |
Table is returned with a reordered column stored as a type, factor.
list is a set of characters in the order they should appear in graphs. All entires in the list must be unique and all values must appear in the list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.