plotIndividualModel: Fitted model(s) for a feature

Description Usage Arguments Value Examples

Description

Plot the model fit for a specific protein/peptide in different conditions.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plotIndividualModel(x, ...)

## S4 method for signature 'SilacProteinExperiment'
plotIndividualModel(x, modelList, num, returnDataFrame = FALSE)

## S4 method for signature 'SilacPeptideExperiment'
plotIndividualModel(x, modelList, num, returnDataFrame = FALSE)

## S4 method for signature 'SilacProteomicsExperiment'
plotIndividualModel(x, modelList, num, returnDataFrame = FALSE)

Arguments

x

A SilacProteinExperiment, SilacPeptideExperiment or SilacProteomicsExperiment object.

...

Unused.

modelList

A list containing all the model objects, this should be the output of modelTurnover with returnModel as TRUE.

num

The feature number to be plotted.

returnDataFrame

A logical indicating if the data.frame used for the plot should be returned instead.

Value

A scatter plot with a fitted line or a data.frame.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
data('wormsPE')
wormsPE <- calculateIsotopeFraction(wormsPE, ratioAssay = 'ratio')

modelList <- modelTurnover(x = wormsPE[1:10],
                           assayName = 'fraction',
                           formula = 'fraction ~ 1 - exp(-k*t)',
                           start = list(k = 0.02),
                           mode = 'protein',
                           robust = FALSE,
                           returnModel = TRUE)

plotIndividualModel(x = wormsPE,
                    modelList = modelList,
                    num = 2)

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