Skip to contents

get_sample_names() is a helper function that returns the unique sample names present in a tidyproteomics data object.

Usage

get_sample_names(data = NULL)

Arguments

data

tidyproteomics data object

Value

a character vector of unique sample names

Examples

library(tidyproteomics)
get_sample_names(hela_proteins)
#> [1] "control"   "knockdown"