createMatrixMotif {transite} | R Documentation |
Takes a position weight matrix (PWM) and meta info and returns an object of
class RBPMotif
.
createMatrixMotif(id, rbps, matrix, type, species, src)
id |
motif id (character vector of length 1) |
rbps |
character vector of names of RNA-binding proteins associated with this motif |
matrix |
data frame with four columns (A, C, G, U) and 6 - 15 rows (positions), where cell (i, j) contains weight of nucleotide j on position i |
type |
type of motif (e.g., |
species |
species where motif was discovered (e.g.,
|
src |
source of motif (e.g., |
object of class RBPMotif
custom.motif <- createMatrixMotif( "custom.motif", "RBP1", transite:::toy.motif.matrix, "HITS-CLIP", "Homo sapiens", "user" )