Main function for importing data
import.Rd
import()
reads files from various platforms into the
tidyproteomics data object -- see also the documentation vignette("importing")
and vignette("workflow-importing")
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)
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
#>