filterSpectronaut.Rd
Exclude features with 'PG.Cscore' below minScore
,
'PG.NrOfStrippedSequencesIdentified.Experiment.wide' below
minPeptides
, or where the 'PG.ProteinGroups' column contains the
specified revPattern
.
filterSpectronaut(
sce,
minScore,
minPeptides,
plotUpset = TRUE,
revPattern = "_Decoy$",
exclFile = NULL
)
A SummarizedExperiment
object (or a derivative).
Numeric scalar, the minimum allowed value in the 'PG.Cscore' column in order to retain the feature.
Numeric scalar, the minimum allowed value in the 'PG.NrOfStrippedSequencesIdentified.Experiment.wide' column in order to retain the feature.
Logical scalar, whether to generate an UpSet plot detailing the reasons for features being filtered out. Only generated if any feature is in fact filtered out.
Character scalar providing the pattern (a regular
expression) used to identify decoys (reverse hits). The pattern is
matched against the IDs in the Spectronaut PG.ProteinGroups
column.
Character scalar, the path to a text file where the
features that are filtered out are written. If NULL
(default),
excluded features are not recorded.
A filtered object of the same type as sce
.