Skip to contents

import() reads files from various platforms into the tidyproteomics data object -- see also the documentation vignette("importing") and vignette("workflow-importing")

Usage

import(files = NULL, platform = NULL, analyte = NULL, path = NULL)

Arguments

files

a character vector of file paths

platform

the source of the data (ProteomeDiscoverer, MaxQuant, etc.)

analyte

the omics analyte (proteins, peptides)

path

a character string pointing to the local configuration file (directory/file.tsv)

Value

a tidyproteomics list data-object

Examples

library(dplyr, warn.conflicts = FALSE)
library(tidyproteomics)
hela_proteins <- path_to_package_data("p97KD_HCT116") %>%
   import("ProteomeDiscoverer", "proteins")
#> Error in path_to_package_data("p97KD_HCT116"):  No path found for p97KD_HCT116
hela_proteins %>% summary("sample")
#> 
#> ── Summary: sample ──
#> 
#>     sample proteins peptides peptides_unique quantifiable  CVs
#>    control     7055    66329           58706        0.908 0.16
#>  knockdown     7055    66329           58706        0.909 0.21
#>