align AA motifs for plotting motifs stack

AAmotifAlignment(pcms, threshold = 0.4, minimalConsensus = 0)

Arguments

pcms

a list of position frequency matrices, pfms must be a list of class pcm

threshold

information content cutoff threshold for useful postions

minimalConsensus

minimal length of consensus for alignment

Value

a list of aligned motifs

Examples

pcms<-importMatrix(system.file("extdata", "prot.meme", package="motifStack"), format="meme", to="pfm") motifs<-AAmotifAlignment(pcms)