Hello,
I have several matrix that I downloaded from online database like JASPAR, TRANSFAC, etc. I have compiled the matrix into one big file and assigned each matrix to a gene. The result is that a gene can have more than 1 matrix. The problem is, I realised that some of the matrix is a probability matrix (every base sum up to 1) and other is position weight matrix. I think the probability matrix is my output from converting PSSM with a function I read in a paper. My question is, how I convert the probability matrix into PWM? Thank you very much.