msarc.subtract: Subtract Control From Experiment

Description Usage Arguments Details Value Author(s) Examples

View source: R/msarc.R

Description

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

Usage

1

Arguments

source

the msarc object of interest

control

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

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.

Value

the modified source msarc object.

Author(s)

Gord Brown

Examples

1
2
3
4
# Load a data set and control
data('sample_initial',package="msarc")
data('control_initial',package="msarc")
sample_subtracted <- msarc.subtract(sample_initial,control_initial)

msarc documentation built on May 30, 2017, 12:53 a.m.