Skip to content

Commit

Permalink
Add prefix argument to run_plexedpiper
Browse files Browse the repository at this point in the history
Add new prefix argument from `read_study_design`.
  • Loading branch information
TylerSagendorf committed Jul 6, 2022
1 parent 40ec397 commit 3a8dd9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion R/run_plexedpiper.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#' phosphoproteomics, "ub" - ubiquitinomics, or "ac" - acetylomics
#' @param study_design_folder (character) Folder containing the three study
#' design tables: fractions.txt, samples.txt, and references.txt
#' @param prefix (character) optional prefix for study design tables.
#' @param species (character) Scientific name of species (e.g. "Rattus
#' norvegicus", "Homo sapiens", etc.)
#' @param annotation (character) Source for annotations: either `RefSeq` or
Expand Down Expand Up @@ -67,12 +68,15 @@
#' verbose = TRUE)
#' }
#' @export


run_plexedpiper <- function(msgf_output_folder,
fasta_file,
masic_output_folder,
ascore_output_folder = NULL,
proteomics,
study_design_folder,
prefix = character(0),
species,
annotation,
file_prefix = NULL,
Expand Down Expand Up @@ -106,7 +110,7 @@ run_plexedpiper <- function(msgf_output_folder,
# Data loading
message("- Fetch study design tables")

study_design <- read_study_design(study_design_folder)
study_design <- read_study_design(study_design_folder, prefix = prefix)
msnid <- read_msgf_data(msgf_output_folder)
if(!is.null(ascore_output_folder)) ascore <- read_AScore_results(ascore_output_folder)
masic_data <- read_masic_data(masic_output_folder,
Expand Down
3 changes: 3 additions & 0 deletions man/run_plexedpiper.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3a8dd9c

Please sign in to comment.