label.matrix: Name PWM & MM rows and columns

Description Usage Arguments Value


Given a list of PWM or MM matrices, name the rows and columns (if applicable) This function is used for specifying the names of rows and columns for Markov Models and Position Weight Matrices(PWMs) only. In the case of naming PWMs, set columnsOnly to true, as it doesn't make sense to name the rows of a PWM. The columns are named 'A,C,G,T'. The rows are uniquely named, staring with A going to T If there are more than 4 rows, two characters are used AA, AC..., if more than 16 rows 3 characters are used, and so on.


label.matrix(mat, columnsOnly = FALSE)



Matrix of which have the column and row names populated


Only name the columns, not the rows


Matrix with columns and (rows optional) named

Search within the rtfbs package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.