label_and_order: Label and reorder a vector

View source: R/util.R

label_and_orderR Documentation

Label and reorder a vector

Description

Sets names to a vector and then reorders it so that names are sorted alphabetically.

Usage

label_and_order(value, label)

Arguments

value

[vector()]
Values to label and reorder.

label

[character()]
Names to use when labeling and reordering.

Value

Reordered value vector with names.


KotulskaLab/AmyloGraph documentation built on June 30, 2023, 8:48 p.m.