makePriors {PWMEnrich} | R Documentation |
These priors serve both as background nucleotide frequencies and pseudo-counts for PWMs.
makePriors(bg.seq, bg.pseudo.count)
bg.seq |
a set of background sequences |
bg.pseudo.count |
the total pseudocount shared between nucleotides |
# some example sequences sequences = list(DNAString("AAAGAGAGTGACCGATGAC"), DNAString("ACGATGAGGATGAC")) # make priors with pseudo-count of 1 shared between them makePriors(sequences, 1)