setupTestData: Generate a random test dataset with features, sample values...

View source: R/utils.R

setupTestDataR Documentation

Generate a random test dataset with features, sample values and retention times

Description

Generate a random test dataset with features, sample values and retention times

Usage

setupTestData(nSamples, nFeatures, rtMin = 40, rtMax = 80, mean = 20, sd = 4)

Arguments

nSamples

Number of samples

nFeatures

Number of features

rtMin

Minimum retention time

rtMax

Maximum retention time

mean

Mean value for sample intensities

sd

Standard deviation for sample intensities

Value

Test dataset

Examples

df <- setupTestData(6, 20)
df <- setupTestData(6, 20, mean=15, sd=1)

ComputationalProteomics/NormalyzerDE documentation built on Oct. 18, 2024, 9:57 p.m.