Package com.affymetrix.genoviz.widget.tieredmap

Examples of com.affymetrix.genoviz.widget.tieredmap.MapTierGlyph


                SeqUtils.printSymmetry(asym);
            }
            glyphifyMRNA(asym, path2view);
        }

        MapTierGlyph sumTier = new MapTierGlyph();
        sumTier.setCoords(gseq.getMin(), seqmap_pixel_height - 20, gseq.getLength(), 20);
        sumTier.setState(MapTierGlyph.EXPANDED);

        ExpandedTierPacker epack = (ExpandedTierPacker) sumTier.getExpandedPacker();
        epack.setMoveType(ExpandedTierPacker.DOWN);
        GlyphSummarizer summer = new GlyphSummarizer(col_exon_summary);
        if (exonGlyphs.size() > 0) {
            GlyphI gl = summer.getSummaryGlyph(exonGlyphs);
            sumTier.addChild(gl);
        }
        seqmap.addTier(sumTier);
        seqmap.repack();

//        table_view.showProperties(new Properties[0]);
View Full Code Here


     * @see     com.affymetrix.genoviz.bioviews.GlyphI
     * @see     com.affymetrix.genoviz.widget.tieredmap.MapTierGlyph
     */
    private void glyphifyMRNA(SeqSymmetry mrna2genome, SeqSymmetry[] path2view) {
        int childcount = mrna2genome.getChildCount();
        MapTierGlyph tier = new MapTierGlyph();
        tier.setCoords(gseq.getMin(), 0, gseq.getLength(), 80);
        tier.setState(MapTierGlyph.EXPANDED);
        ExpandedTierPacker epack = (ExpandedTierPacker) tier.getExpandedPacker();
        epack.setMoveType(ExpandedTierPacker.DOWN);
        seqmap.addTier(tier);

        MutableSeqSymmetry annot2genome = new SimpleMutableSeqSymmetry();
        copyToMutable(mrna2genome, annot2genome);

        SeqUtils.transformSymmetry(annot2genome, path2view);
    GlyphI tGlyph = glyphifyExons(mrna2genome, annot2genome, childcount);
        tier.addChild(tGlyph);
    BioSeq mrna = SeqUtils.getOtherSpan(mrna2genome, mrna2genome.getSpan(gseq)).getBioSeq();
    displayAssociatedmRNAforTranscript(mrna, path2view, mrna2genome, tier, tGlyph);
    }
View Full Code Here

TOP

Related Classes of com.affymetrix.genoviz.widget.tieredmap.MapTierGlyph

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.