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

Description Usage Arguments Value Examples

View source: R/utils.R

Description

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

Usage

1
2
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

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

NormalyzerDE documentation built on Nov. 8, 2020, 8:22 p.m.