Skip to content

Commit

Permalink
New proteomics assay: PROT_OX
Browse files Browse the repository at this point in the history
  • Loading branch information
biodavidjm committed Feb 2, 2024
1 parent f2ce6ee commit 5d268be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/validations.R
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ check_viallabel_dmaqc <- function(vl_submitted,
validate_assay <- function(input_results_folder){

assay <- stringr::str_extract(string = input_results_folder,
pattern = "(?<=T\\d{2}/)(IONPNEG|RPNEG|RPPOS|HILICPOS|LRPPOS|LRPNEG|3HIB|AA|AC_DUKE|ACOA|BAIBA|CER_DUKE|CONV|KA|NUC|OA|SPHM|OXYLIPNEG|ETAMIDPOS|AC_MAYO|AMINES|CER_MAYO|TCA|IMM_CRT|IMM_GLC|IMM_INS|PROT_PH|PROT_PR|PROT_AC|PROT_UB|PROT_OL)")
pattern = "(?<=T\\d{2}/)(IONPNEG|RPNEG|RPPOS|HILICPOS|LRPPOS|LRPNEG|3HIB|AA|AC_DUKE|ACOA|BAIBA|CER_DUKE|CONV|KA|NUC|OA|SPHM|OXYLIPNEG|ETAMIDPOS|AC_MAYO|AMINES|CER_MAYO|TCA|IMM_CRT|IMM_GLC|IMM_INS|PROT_PH|PROT_PR|PROT_AC|PROT_UB|PROT_OL|PROT_OX)")
if(is.na(assay)){
stop("ASSAY not found in the folder structure")
}else{
Expand Down

0 comments on commit 5d268be

Please sign in to comment.