simulateSummarization: Simulate site-level summarization for PTM experiment

Description Usage Arguments Value Examples

View source: R/simulate.R

Description

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

Usage

1
simulateSummarization(nGroup, nRep, mu, delta, sRep)

Arguments

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.

Value

A tibble with columns of group, run and log2inty.

Examples

1
simulateSummarization(nGroup=2, nRep=3, 25, c(0, 1), 0.2)

MSstatsPTM documentation built on Nov. 8, 2020, 5:49 p.m.