group_annotations: Group annotation columns

Description Usage Arguments Value

View source: R/annotation.R

Description

Group annotation columns

Usage

1
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/scrattch.io documentation built on Nov. 17, 2021, 10:06 a.m.