de.jstacs.motifDiscovery
Class MotifDiscovererToolBox
java.lang.Object
de.jstacs.motifDiscovery.MotifDiscovererToolBox
public class MotifDiscovererToolBox
- extends Object
This class contains static methods for the MotifDiscoverer.
- Author:
- Jens Keilwagen
- See Also:
MotifDiscoverer
|
Method Summary |
static ImageResult |
plot(MotifDiscoverer motifDisc,
int component,
int motif,
Sequence sequence,
int startpos,
REnvironment r,
int width,
int height,
MotifDiscoverer.KindOfProfile kind)
This method creates a simple plot of the profile of scores for a sequence and a start position. |
static ImageResult |
plotAndAnnotate(MotifDiscoverer motifDisc,
int component,
int motif,
Sequence sequence,
int startpos,
REnvironment r,
int width,
int height,
double yMin,
double yMax,
double threshold,
MotifDiscoverer.KindOfProfile kind)
This method creates a plot of the profile of scores for a sequence and a start position and annotates bindings sites in the plot. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MotifDiscovererToolBox
public MotifDiscovererToolBox()
plot
public static ImageResult plot(MotifDiscoverer motifDisc,
int component,
int motif,
Sequence sequence,
int startpos,
REnvironment r,
int width,
int height,
MotifDiscoverer.KindOfProfile kind)
throws Exception
- This method creates a simple plot of the profile of scores for a sequence and a start position.
- Parameters:
motifDisc - the MotifDiscoverercomponent - the index of the componentmotif - the index of the motifsequence - the sequencestartpos - the start position in the sequencer - the R environment that is used for drawing the plotwidth - the width of the image in pixelheight - the height of the image in pixelkind - the kind of the score profile
- Returns:
- an image packed in a result
- Throws:
Exception - if some thing went wrong
plotAndAnnotate
public static ImageResult plotAndAnnotate(MotifDiscoverer motifDisc,
int component,
int motif,
Sequence sequence,
int startpos,
REnvironment r,
int width,
int height,
double yMin,
double yMax,
double threshold,
MotifDiscoverer.KindOfProfile kind)
throws Exception
- This method creates a plot of the profile of scores for a sequence and a start position and annotates bindings sites in the plot.
- Parameters:
motifDisc - the MotifDiscoverercomponent - the index of the componentmotif - the index of the motifsequence - the sequencestartpos - the start position in the sequencer - the R environment that is used for drawing the plotwidth - the width of the image in pixelheight - the height of the image in pixelyMin - the minimal value of y-axisyMax - the maximal value of the y-axisthreshold - the thresholdkind - the kind of the score profile
- Returns:
- an image packed in a result
- Throws:
Exception - if some thing went wrong