makePriors {PWMEnrich} | R Documentation

## Make priors from background sequences

### Description

These priors serve both as background nucleotide frequencies and pseudo-counts for PWMs.

### Usage

      makePriors(bg.seq, bg.pseudo.count)

### Arguments

`bg.seq` | a set of background sequences
`bg.pseudo.count` | the total pseudocount shared between nucleotides

### Examples

    # some example sequences
    sequences = list(DNAString("AAAGAGAGTGACCGATGAC"), DNAString("ACGATGAGGATGAC"))
    # make priors with pseudo-count of 1 shared between them
    makePriors(sequences, 1)

[Package PWMEnrich version 4.20.0 Index]