Skip to content

Commit 7c884ac

Browse files
committed
fix pd converter for tmt
1 parent 3ed95ce commit 7c884ac

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

R/converters_PDtoMSstatsTMTFormat.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
#' @param annotation annotation with Run, Fraction, TechRepMixture, Mixture, Channel,
55
#' BioReplicate, Condition columns or a path to file. Refer to the example 'annotation' for the meaning of each column.
66
#' @param which.proteinid Use 'Protein.Accessions'(default) column for protein name. 'Master.Protein.Accessions' can be used instead to get the protein name with single protein.
7-
#' @param useNumProteinsColumn logical, TURE(default) remove shared peptides by information of # Proteins column in PSM sheet.
7+
#' @param useNumProteinsColumn logical, TRUE (default) removes shared peptides by information of # Proteins column in PSM sheet.
88
#' @param rmPSM_withfewMea_withinRun TRUE (default) will remove the features that have 1 or 2 measurements within each Run.
9-
#' @param rmProtein_with1Feature TRUE will remove the proteins which have only 1 peptide and charge. Defaut is FALSE.
9+
#' @param rmProtein_with1Feature TRUE will remove the proteins which have only 1 peptide and charge. Default is FALSE.
1010
#' @param ... additional parameters to `data.table::fread`.
1111
#' @inheritParams .sharedParametersAmongConverters
1212
#'
@@ -48,7 +48,7 @@ PDtoMSstatsTMTFormat <- function(
4848
input = MSstatsConvert::MSstatsPreprocess(
4949
input,
5050
annotation,
51-
feature_columns = c("PeptideSequence", "PrecursorCharge"),
51+
feature_columns = feature_columns,
5252
remove_shared_peptides = useUniquePeptide,
5353
remove_single_feature_proteins = rmProtein_with1Feature,
5454
feature_cleaning = list(remove_features_with_few_measurements = rmPSM_withfewMea_withinRun,

man/PDtoMSstatsTMTFormat.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)