Documentation of 'jyplot.BarClusterPlot' Java class
BarClusterPlot
jyplot

Class BarClusterPlot

  • All Implemented Interfaces:
    java.util.EventListener, ChartMouseListener


    public class BarClusterPlot
    extends java.lang.Object
    implements ChartMouseListener
    Creates a series of bar charts where the bars are stacked by the order of present/absent. Basically, values that are present for the first time are stacked above the previous values.
    • Constructor Summary

      Constructors 
      Constructor and Description
      BarClusterPlot() 
      BarClusterPlot(boolean[][] booleanarrays, java.lang.String[] columnnames, java.lang.String[][] columnorders, java.lang.String[][] domainlabels, java.lang.String[] plottitles) 
    • Constructor Detail

      • BarClusterPlot

        public BarClusterPlot(boolean[][] booleanarrays,
                              java.lang.String[] columnnames,
                              java.lang.String[][] columnorders,
                              java.lang.String[][] domainlabels,
                              java.lang.String[] plottitles)
        Parameters:
        booleanarrays - Each column is represented as a boolean array.
        columnnames - The names of the columns in the boolean arrays
        columnorders - The order of the columns. The lenght of the array is the number of plots.
        domainlabels - The labels of domains.
        plottitles - The titles of the individual plots.
      • BarClusterPlot

        public BarClusterPlot()
    • Method Detail

      • computeRectCoords

        public java.util.HashMap computeRectCoords(boolean[][] data)
        Each rect corresponds to a list of indices (e.g. for genes) This should be computed once. Returns a HashMap of Rectangles to IntArrayList of indices matching the Rectangles.
        Parameters:
        data - The first index is the row, second is column.
      • main

        public static void main(java.lang.String[] args)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.