metacoder (version 0.1.2)

select_labels: Pick labels to show

Description

Pick labels to show based off a column name to sort by and a maximum number

Usage

select_labels(my_data, label_max, sort_by_column, label_column)

Arguments

my_data
data.frame
label_max
numeric of length 1
sort_by_column
character of length 1; the name of a column in my_data
label_column
character of length 1; the name of a column in my_data containing labels

Value

character IDs of rows with labels to show