group_annotations | R Documentation |
Group annotation columns. From library(scrattch.io)
group_annotations(df, sample_col = "sample_name", keep_order = TRUE)
df |
the annotation dataframe to arrange |
sample_col |
the column with unique sample ids. Default is "sample_name". |
keep_order |
a logical value. If FALSE, will sort the annotations alphanumerically by base. |
an annotation data frame with reordered columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.