simulateSummarization {MSstatsPTM} | R Documentation |
simulateSummarization
simulates the summarized log2-intensity value
of a PTM site in each MS run. The value is randomly generated based on a
normal distribtuion, where the average log2-intensity is defined for each
condition
simulateSummarization(nGroup, nRep, mu, delta, sRep)
nGroup |
An integer to specify the number of conditions. |
nRep |
An integer to specify the number of replicates per condition. |
mu |
A numeric value of the overall mean log2-abundance. |
delta |
A numeric vector to specify the deviation of the mean log2-abundance of each group from the overall mean. |
sRep |
A numeric. Standard deviation of the log2-intensities. |
A tibble with columns of group
, run
and
log2inty
.
simulateSummarization(nGroup=2, nRep=3, 25, c(0, 1), 0.2)