Learn R Programming

dagLogo (version 1.10.2)

testDAU: DAU test

Description

Performs DAU test

Usage

testDAU(dagPeptides, dagBackground, group=c("null", "classic", "charge", "chemistry", "hydrophobicity"), bgNoise=NA)

Arguments

dagPeptides
an object of dagPeptides, output of fetchSequence or fformatSequence
dagBackground
an object of dagBackground, output of buildBackgroundModel
group
could be "null", "classic", "charge", "chemistry", "hydrophobicity"
bgNoise
if it is not NA, test will using a background by Dirichlet(1)-distributed random frequencies with weight bg.noise. The value of bgNoise should be a number in the range of 0 to 1, eg. 0.05

Value

an object of testDAUresults ready for plotting

Examples

Run this code
    data("seq.example")
    data("proteome.example")
    bg <- buildBackgroundModel(seq.example, proteome=proteome.example)
    t <- testDAU(seq.example, bg, bgNoise=0.05)

Run the code above in your browser using DataLab