create_matrix_motif | R Documentation |
Takes a position weight matrix (PWM) and meta info and returns an object of
class RBPMotif
.
create_matrix_motif(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 <- create_matrix_motif(
"custom_motif", "RBP1",
transite:::toy_motif_matrix, "HITS-CLIP",
"Homo sapiens", "user"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.