plotMotifLogoA {motifStack} | R Documentation |
plot amino acid or DNA sequence logo in a given canvas
plotMotifLogoA(pfm, font="Helvetica-Bold", ic.scale=TRUE)
pfm |
an object of pfm |
font |
font of logo |
ic.scale |
logical If TRUE, the height of each column is proportional to its information content. Otherwise, all columns have the same height. |
none
pcm<-matrix(runif(40,0,100),nrow=4,ncol=10) pfm<-pcm2pfm(pcm) rownames(pfm)<-c("A","C","G","T") motif <- new("pfm", mat=pfm, name="bin_SOLEXA") plotMotifLogoA(motif)