CreateMotifObject | R Documentation |
Create a Motif-class
object.
CreateMotifObject( data = NULL, pwm = NULL, motif.names = NULL, positions = NULL, meta.data = NULL )
data |
A motif x region matrix |
pwm |
A named list of position weight matrices or position frequency
matrices matching the motif names in |
motif.names |
A named list of motif names. List element names
must match the names given in |
positions |
A |
meta.data |
A data.frame containing metadata |
Returns a Motif
object
motif.matrix <- matrix( data = sample(c(0,1), size = 100, replace = TRUE), ncol = 5 ) motif <- CreateMotifObject(data = motif.matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.