baseDistributionPwm {DiffLogo} | R Documentation

## Generates a PWM

### Description

Generates a PWM consisting of only the uniform distribution or the given base_distribution (if defined).

### Usage

    baseDistributionPwm(pwm_length, alphabet_length,
      base_distribution = NULL)

### Arguments

`pwm_length` | the number of positions
`alphabet_length` | the alphabet size
`base_distribution` | optional base distribution for each PWM position

### Value

a PWM

[Package DiffLogo version 2.12.2 Index]