mergePTMAbundance: Merge the original and PTM versions of the proteins.

Description Usage Arguments Value Examples

View source: R/stochastic_simulation.R

Description

Merge (i.e. sum) the abundance of the original and modified (PTM) versions of each protein in the results of a simulation.

Usage

1

Arguments

df

A dataframe with the abundance of the different molecules over time (from simulateInSilicoSystem or simulateParallelInSilicoSystem).

Value

A dataframe in which the abundance of original and modified versions of a protein have been merged to give the abundance of the protein (without distinction of its post-translational modification state).

Examples

1
2
3
4
5
6
mysystem = createInSilicoSystem(G = 5, PC.p = 1, PC.PTM.p = 0.9, regcomplexes = "none", ploidy = 1)
mypop = createInSilicoPopulation(1, mysystem)
sim = simulateInSilicoSystem(mysystem, mypop, 100)
head(sim$Simulation)
mergedPTM = mergePTMAbundance(sim$Simulation)
head(mergedPTM)

sismonr documentation built on Feb. 11, 2020, 9:07 a.m.