filterByMissingTimepoints: Filter proteins/peptides by the amount of measurements...

Description Usage Arguments Value Examples

Description

Searches for proteins/peptides that are not found in all timepoints. This can be done for each condition independently (strict = FALSE) or shared across conditions (strict = TRUE).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
filterByMissingTimepoints(x, ...)

## S4 method for signature 'SilacProteinExperiment'
filterByMissingTimepoints(
  x,
  assayName,
  maxMissing = 0,
  strict = TRUE,
  conditionCol,
  returnVector = FALSE
)

## S4 method for signature 'SilacPeptideExperiment'
filterByMissingTimepoints(
  x,
  assayName,
  maxMissing = 0,
  strict = TRUE,
  conditionCol,
  returnVector = FALSE
)

## S4 method for signature 'SilacProteomicsExperiment'
filterByMissingTimepoints(
  x,
  assayName,
  maxMissing = 0,
  strict = TRUE,
  conditionCol,
  returnVector = FALSE
)

Arguments

x

A SilacProteinExperiment, SilacPeptideExperiment or a SilacProteomicsExperiment object.

...

Unused.

assayName

A character indicating which assay will be used to count the number of missed timepoints.

maxMissing

A numeric indicating how many timepoints are allowed to be missed.

strict

Logical: if TRUE, then proteins have to meet the maxMissing criteria in all conditions and time replicates to pass; if FALSE then proteins only have to meet the maxMissing criteria in one condition or time replicate to pass.

conditionCol

A character, which indicates the column name in colData(x) that defines the different experiment conditions.

returnVector

Logical: if TRUE then a vector with the positions to be subset is returned.

Value

A SilacProteinExperiment, SilacPeptideExperiment or a SilacProteomicsExperiment object or a logical vector with the rows that pass the minimum number of desired timepoints.

Examples

1
2
3
4
5
data('wormsPE')
filterByMissingTimepoints(wormsPE,
                          assayName = 'ratio',
                          maxMissing = 2,
                          strict = FALSE)

pulsedSilac documentation built on Nov. 8, 2020, 5:13 p.m.