Description Usage Arguments Details Value Author(s) See Also Examples
build background model for dag test
1 2 3 4 5 6 7 8 9 |
dagPeptides |
an object of dagPeptides, output of |
bg |
could be "wholeGenome", "inputSet" or "nonInputSet" |
model |
could be "any" or "anchored" |
targetPosition |
could be "any", "Nterminus" or "Cterminus" |
uniqueSeq |
should the background sequence be unique? |
permutationSize |
how many times should it samples |
rand.seed |
random seed |
replacement |
Should sampling be with replacement? |
proteome |
an object of Proteome, output of |
The background could be generated from wholeGenome, inputSet or nonInputSet. whole genome: randomly select subsequences from the whole genome with each subsequence containing amino acids with same width of input sequences. anchored whole genome: randomly select subsequences from the whole genome with each subsequence containing amino acids with same width of input sequences where the middle amino acids must contain anchor amino acid, e.g., K, which is specified by user. input set: same to whole genome, but only use protein sequence from input id and not including the site specified in input sequences anchored input set: same to anchored whole genome, but only use protein sequences from input id, and not including the site specified in input sequences. non-input set: whole genome - input set. anchored non-input set: whole genome - input set and the middle amino acids must contain anchor amino acid.
an object of dagBackground which contains background and permutationSize.
Jianhong Ou, Alexey Stukalov, Julie Zhu
1 2 3 | data("seq.example")
data("proteome.example")
bg <- buildBackgroundModel(seq.example, proteome=proteome.example)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.