Learn R Programming

msarc (version 1.3.2)

msarc.subtract: Subtract Control From Experiment

Description

Removes Uniprot IDs from an msarc object if they also occur in a "control" object (or a simple vector of Uniprot IDs).

Usage

msarc.subtract(source, control)

Arguments

source
the msarc object of interest
control
the background control, either another msarc object, or a simple vector of Uniprot IDs

Value

  • the modified source msarc object.

Details

Typically this will be used to remove ``background'' proteins, such as those obtained from an IgG control, from an experiment, to reveal those proteins which are specific to the experiment of interest. Customarily, a mass spec experiment will include a treated sample of some sort, and a corresponding untreated sample. The peptides that are identified only in the treated sample are taken to be the interesting ones. This function allows the straightforward removal from the treatment object of proteins that also occur in the untreated control.

Examples

Run this code
# Load a data set and control
data('sample_initial',package="msarc")
data('control_initial',package="msarc")
sample_subtracted <- msarc.subtract(sample_initial,control_initial)

Run the code above in your browser using DataLab