PWM: A class that represents a Position Weight Matrix (PWM)
Description
A class that represents a Position Weight Matrix (PWM)
Slots
id
:- a systematic ID given to
this PWM, could include the source, version, etc
name
:- the name of the transcription factor
(TF) to which the PWM corresponds to
pfm
:- Position Frequency Matrix (PFM) from
which the PWM is derived
prior.params
:- Defines prior frequencies of
the four bases (A,C,G,T), a named vector. These will be
added to individual values for the PFM and at the same
time used as background probabilities
pwm
:- Final Position Weight Matrix (PWM)
constructed using prior.params with logarithm base 2