Helper function to get all accounting terms
Usage
get_accountings(data = NULL, format = c("table", "vector"))Arguments
- data
tidyproteomics data object
- format
a character string specifying the return format: "table" (default) or "vector"
Examples
library(tidyproteomics)
get_accountings(hela_proteins)
#> # A tibble: 4 × 2
#> accounting data_type
#> <chr> <chr>
#> 1 num_peptides numeric
#> 2 num_psms numeric
#> 3 num_unique_peptides numeric
#> 4 imputed numeric
get_accountings(hela_proteins, format = "vector")
#> [1] "num_peptides" "num_psms" "num_unique_peptides"
#> [4] "imputed"
