Description Usage Arguments Value Author(s) Examples
View source: R/filter_motifs.R
Filter motifs based on the contents of available universalmotif
slots. If the input motifs are not of universalmotif, then they
they will be converted for the duration of the filter_motifs()
operation.
1 2 |
motifs |
|
name |
|
altname |
|
family |
|
organism |
|
width |
|
alphabet |
|
type |
|
icscore |
|
nsites |
|
strand |
|
pval |
|
qval |
|
eval |
|
extrainfo |
|
list
Motifs. An attempt will be made to preserve the original
class, see convert_motifs()
for limitations.
Benjamin Jean-Marie Tremblay, b2tremblay@uwaterloo.ca
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## By minimum IC:
jaspar <- read_jaspar(system.file("extdata", "jaspar.txt",
package = "universalmotif"))
jaspar.ic10 <- filter_motifs(jaspar, icscore = 10)
## By organism:
## Not run:
library(MotifDb)
motifs <- convert_motifs(MotifDb)
motifs <- filter_motifs(motifs, organism = c("Athaliana", "Mmusculus"),
extrainfo = c("dataSource" = "cisbp_1.02"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.