Skip to contents

get_analyses() is a helper function that returns the summary or list of all statistical analyses (differential expression, enrichment, etc.) stored within a tidyproteomics data object.

Usage

get_analyses(data = NULL, format = c("table", "vector"))

Arguments

data

tidyproteomics data object

format

a character string specifying the return format: "table" (default) or "vector"

Value

a tibble or character vector

Examples

library(tidyproteomics)
hela_proteins %>%
  expression(knockdown/control) %>%
  get_analyses()
#> ℹ .. expression::t_test testing knockdown / control
#> ✔ .. expression::t_test testing knockdown / control [3.2s]
#> 
#> # A tibble: 1 × 4
#>   comparison        analysis   term  method    
#>   <chr>             <chr>      <chr> <chr>     
#> 1 knockdown/control expression NA    expression