New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missed cleavages from evidence.txt #104
Conversation
R/createReport.R
Outdated
@@ -515,7 +516,7 @@ createReport = function(txt_folder = NULL, mztab_file = NULL, yaml_obj = list(), | |||
lst_qcMetrics[["qcMetric_EVD_MissingValues"]]$setData(df_evd) | |||
|
|||
## trim down to the absolute required (we need to identify contaminants in MSMS.txt later on) | |||
if (!DEBUG_PTXQC) df_evd = df_evd[, c("id", "contaminant")] | |||
if (!DEBUG_PTXQC) df_evd = df_evd[, c("id", "contaminant", "fc.raw.file", "sequence", "missed.cleavages")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately, this will throw an error if missed.cleavages
is missing.
However, if (!DEBUG_PTXQC) df_evd = df_evd[, names(df_evd) %in% c("id", "contaminant", "fc.raw.file", "sequence", "missed.cleavages")]
should work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome. Thanks!
missed cleavages metric can be computed from evidence.txt (for more recent versions of MaxQuant) if msms.txt is not provided