Description Usage Arguments Value Examples
View source: R/DNAmotifAlignment.R
align DNA motifs for plotting motifs stack
1 2 3 4 5 6 7 | DNAmotifAlignment(
pfms,
threshold = 0.4,
minimalConsensus = 0,
rcpostfix = "(RC)",
revcomp = rep(TRUE, length(pfms))
)
|
pfms |
a list of position frequency matrices, pfms must be a list of class pfm or psam |
threshold |
information content cutoff threshold for useful postions |
minimalConsensus |
minimal length of consensus for alignment |
rcpostfix |
the postfix for reverse complements |
revcomp |
a logical vector to indicates whether the reverse complemet should be involved into alignment |
a list of aligned motifs
1 2 3 | pcms<-readPCM(file.path(find.package("motifStack"), "extdata"),"pcm$")
motifs<-lapply(pcms,pcm2pfm)
motifs<-DNAmotifAlignment(motifs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.