group_annotations: Group annotation columns. From library(scrattch.io)

group_annotationsR Documentation

Group annotation columns. From library(scrattch.io)

Description

Group annotation columns. From library(scrattch.io)

Usage

group_annotations(df, sample_col = "sample_name", keep_order = TRUE)

Arguments

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.

Value

an annotation data frame with reordered columns


AllenInstitute/L5_VEN documentation built on July 31, 2022, 6:32 p.m.