PTMsimulateExperiment {MSstatsPTM} | R Documentation |
PTMsimulateExperiment
simulates a PTM quantification experiment with
a list of log2-intensities of multiple spectral features, PTM sites and the
corresponding proteins, in multiple MS runs and conditions.
PTMsimulateExperiment(nGroup, nRep, nProtein, nSite, nFeature, logAbundance)
nGroup |
An integer to specify the number of conditions. |
nRep |
An integer to specify the number of replicates per condition. |
nProtein |
An integer to specify the number of protein. |
nSite |
An integer to specify the number of PTM sites per protein. |
nFeature |
An integer to specify the number of features per site. |
logAbundance |
A list of two lists named |
A tibble with columns of protein
, site
, group
,
run
, feature
, log2inty
.
PTMsimulateExperiment( nGroup=2, nRep=2, nProtein=1, nSite=1, nFeature=5, logAbundance=list( PTM=list(mu=25, delta=c(0, 1), sRep=0.2, sPeak=0.05), PROTEIN=list(mu=25, delta=c(0, 1), sRep=0.2, sPeak=0.05) ) )