Skip to content

Commit 3145427

Browse files
authored
fix(maxquant): Filter out decoys with decoy column (#133)
1 parent 6aec444 commit 3145427

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

R/clean_MaxQuant.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
mq_input = getInputFile(msstats_object, "evidence")
1818
mq_pg = getInputFile(msstats_object, "protein_groups")
1919

20-
filter_cols = c("Contaminant", "Potentialcontaminant", "Reverse")
21-
msg = paste("** + Contaminant, + Reverse, + Potential.contaminant",
20+
filter_cols = c("Contaminant", "Potentialcontaminant", "Reverse", "Decoy")
21+
msg = paste("** + Contaminant, + Reverse, + Decoy, + Potential.contaminant",
2222
"proteins are removed.")
2323
if (remove_by_site) {
2424
filter_cols = c(filter_cols, "Onlyidentifiedbysite")
25-
msg = paste("** + Contaminant, + Reverse, + Potential.contaminant,",
25+
msg = paste("** + Contaminant, + Reverse, + Decoy, + Potential.contaminant,",
2626
"+ Only.identified.by.site proteins are removed.")
2727
}
2828

0 commit comments

Comments
 (0)