Package org.snpeff.motif
Class MotifLogo
- java.lang.Object
-
- org.snpeff.motif.MotifLogo
-
public class MotifLogo extends java.lang.Object
Create a DNA logo for a PWM References: - See WebLogo http://weblogo.berkeley.edu/ - "WebLogo: A Sequence Logo Generator"- Author:
- pcingola
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static double
log2(double p)
Log base 2java.lang.String
toStringHtml(int width, int maxHeight, EffectType efectType)
Return an HTML string that represents the motif.
-
-
-
Constructor Detail
-
MotifLogo
public MotifLogo(Pwm pwm)
-
-
Method Detail
-
log2
public static double log2(double p)
Log base 2
-
toStringHtml
public java.lang.String toStringHtml(int width, int maxHeight, EffectType efectType)
Return an HTML string that represents the motif.
-
-