Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vladpetyuk committed May 5, 2024
1 parent ad7bf99 commit f6e3f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/read_FragPipe_TMT.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ read_FragPipe_TMT <- function(path = NULL, use_gene_as_prot_id = TRUE)
mutate(rowname = paste0(Gene,
"-",
sub("[^_]*_([A-Z]\\d+)","\\1",Index)))
if(anyDuplicated(df$rownames)){
if(anyDuplicated(df$rowname)){
stop("Duplicates in the gene-based site names. Switch to use_gene_as_prot_id = FALSE.")
}
}else{
Expand Down

0 comments on commit f6e3f53

Please sign in to comment.