simulateSummarization {MSstatsPTM}R Documentation

Simulate site-level summarization for PTM experiment

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

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

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


[Package MSstatsPTM version 1.0.0 Index]