inst/unitTests/test_buildBackgroundModel.R

test_bg_p_bg <- function(){
    bg <- buildBackgroundModel(seq.example, bg="inputSet", permutationSize=2L)
    bg <- buildBackgroundModel(seq.example, bg="nonInputSet", proteome=proteome.example, permutationSize=2L)
}

test_bg_p_model <- function(){
    bg <- buildBackgroundModel(seq.example, model="anchored", proteome=proteome.example, permutationSize=2L)
}

test_bg_p_model <- function(){
    bg <- buildBackgroundModel(seq.example, targetPosition="Nterminus", proteome=proteome.example, permutationSize=2L)
    bg <- buildBackgroundModel(seq.example, targetPosition="Cterminus", proteome=proteome.example, permutationSize=2L)
}

test_bg_p_others <- function(){
    bg <- buildBackgroundModel(seq.example, uniqueSeq=FALSE, proteome=proteome.example, permutationSize=2L)
    bg <- buildBackgroundModel(seq.example, replacement=TRUE, proteome=proteome.example, permutationSize=2L)
}

test_bg_p_combinations <- function(){
    bg <- buildBackgroundModel(seq.example, 
                               bg="inputSet",
                               model="anchored",
                               permutationSize=2L)
}
alyst/dagLogo documentation built on May 12, 2019, 2:32 a.m.