bio-graphics 1.2 → 1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/classes/Bio.html +4 -26
- data/doc/classes/Bio/Feature.html +350 -0
- data/doc/classes/Bio/Feature.src/M000010.html +21 -0
- data/doc/classes/Bio/Feature.src/M000011.html +20 -0
- data/doc/classes/Bio/Feature.src/M000012.html +19 -0
- data/doc/classes/Bio/Feature.src/M000014.html +21 -0
- data/doc/classes/Bio/Feature.src/M000016.html +21 -0
- data/doc/classes/Bio/Feature.src/M000034.html +21 -0
- data/doc/classes/Bio/Feature.src/M000035.html +20 -0
- data/doc/classes/Bio/Feature.src/M000036.html +19 -0
- data/doc/classes/Bio/Feature.src/M000038.html +21 -0
- data/doc/classes/Bio/Feature.src/M000040.html +21 -0
- data/doc/classes/Bio/Feature.src/M000042.html +21 -0
- data/doc/classes/Bio/Feature.src/M000043.html +20 -0
- data/doc/classes/Bio/Feature.src/M000044.html +21 -0
- data/doc/classes/Bio/Feature.src/M000045.html +20 -0
- data/doc/classes/Bio/Feature.src/M000046.html +19 -0
- data/doc/classes/Bio/Feature.src/M000048.html +21 -0
- data/doc/classes/Bio/Feature.src/M000050.html +21 -0
- data/doc/classes/Bio/Feature.src/M000074.html +21 -0
- data/doc/classes/Bio/Feature.src/M000075.html +20 -0
- data/doc/classes/Bio/Feature.src/M000076.html +19 -0
- data/doc/classes/Bio/Feature.src/M000078.html +21 -0
- data/doc/classes/Bio/Feature.src/M000080.html +21 -0
- data/doc/classes/Bio/Feature/Qualifier.html +189 -0
- data/doc/classes/Bio/Feature/Qualifier.src/M000017.html +18 -0
- data/doc/classes/Bio/Feature/Qualifier.src/M000041.html +18 -0
- data/doc/classes/Bio/Feature/Qualifier.src/M000049.html +18 -0
- data/doc/classes/Bio/Feature/Qualifier.src/M000051.html +18 -0
- data/doc/classes/Bio/Feature/Qualifier.src/M000081.html +18 -0
- data/doc/classes/Bio/Features.html +329 -0
- data/doc/classes/Bio/Features.src/M000004.html +18 -0
- data/doc/classes/Bio/Features.src/M000005.html +19 -0
- data/doc/classes/Bio/Features.src/M000006.html +21 -0
- data/doc/classes/Bio/Features.src/M000007.html +18 -0
- data/doc/classes/Bio/Features.src/M000008.html +18 -0
- data/doc/classes/Bio/Features.src/M000009.html +18 -0
- data/doc/classes/Bio/Features.src/M000028.html +18 -0
- data/doc/classes/Bio/Features.src/M000029.html +19 -0
- data/doc/classes/Bio/Features.src/M000030.html +21 -0
- data/doc/classes/Bio/Features.src/M000031.html +18 -0
- data/doc/classes/Bio/Features.src/M000032.html +18 -0
- data/doc/classes/Bio/Features.src/M000033.html +18 -0
- data/doc/classes/Bio/Features.src/M000036.html +18 -0
- data/doc/classes/Bio/Features.src/M000037.html +19 -0
- data/doc/classes/Bio/Features.src/M000038.html +18 -0
- data/doc/classes/Bio/Features.src/M000039.html +19 -0
- data/doc/classes/Bio/Features.src/M000040.html +21 -0
- data/doc/classes/Bio/Features.src/M000041.html +18 -0
- data/doc/classes/Bio/Features.src/M000042.html +18 -0
- data/doc/classes/Bio/Features.src/M000043.html +18 -0
- data/doc/classes/Bio/Features.src/M000068.html +18 -0
- data/doc/classes/Bio/Features.src/M000069.html +19 -0
- data/doc/classes/Bio/Features.src/M000070.html +21 -0
- data/doc/classes/Bio/Features.src/M000071.html +18 -0
- data/doc/classes/Bio/Features.src/M000072.html +18 -0
- data/doc/classes/Bio/Features.src/M000073.html +18 -0
- data/doc/classes/Bio/Graphics.html +28 -42
- data/doc/classes/Bio/Graphics/{Panel/Track/Feature.html → Feature.html} +98 -125
- data/doc/classes/Bio/Graphics/Feature.src/M000020.html +51 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000021.html +65 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000022.html +55 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000023.html +66 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000024.html +51 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000025.html +65 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000026.html +55 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000054.html +51 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000055.html +65 -0
- data/doc/classes/Bio/Graphics/Feature.src/M000056.html +55 -0
- data/doc/classes/Bio/Graphics/Feature/SubFeature.html +348 -0
- data/doc/classes/Bio/Graphics/Feature/SubFeature.src/M000025.html +68 -0
- data/doc/classes/Bio/Graphics/Feature/SubFeature.src/M000026.html +67 -0
- data/doc/classes/Bio/Graphics/Glyph.html +178 -0
- data/doc/classes/Bio/Graphics/Glyph/Box.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/Box.src/M000004.html +24 -0
- data/doc/classes/Bio/Graphics/Glyph/Box.src/M000032.html +24 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.html +187 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000004.html +18 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000005.html +18 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000006.html +24 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000007.html +24 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000033.html +18 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000034.html +24 -0
- data/doc/classes/Bio/Graphics/Glyph/Common.src/M000035.html +24 -0
- data/doc/classes/Bio/Graphics/Glyph/CustomTestGlyph.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/CustomTestGlyph.src/M000037.html +22 -0
- data/doc/classes/Bio/Graphics/Glyph/CustomTestGlyphInFile.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/CustomTestGlyphInFile.src/M000038.html +22 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedBox.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedBox.src/M000009.html +31 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedBox.src/M000039.html +31 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedGeneric.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedGeneric.src/M000011.html +26 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedGeneric.src/M000013.html +26 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedGeneric.src/M000043.html +26 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedSpliced.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedSpliced.src/M000008.html +40 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedSpliced.src/M000010.html +40 -0
- data/doc/classes/Bio/Graphics/Glyph/DirectedSpliced.src/M000040.html +40 -0
- data/doc/classes/Bio/Graphics/{Panel/Track/Feature/PixelRange.html → Glyph/Dot.html} +16 -19
- data/doc/classes/Bio/Graphics/Glyph/Dot.src/M000013.html +22 -0
- data/doc/classes/Bio/Graphics/Glyph/Dot.src/M000015.html +22 -0
- data/doc/classes/Bio/Graphics/Glyph/Dot.src/M000045.html +22 -0
- data/doc/classes/Bio/Graphics/Glyph/Generic.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/Generic.src/M000009.html +18 -0
- data/doc/classes/Bio/Graphics/Glyph/Generic.src/M000011.html +18 -0
- data/doc/classes/Bio/Graphics/Glyph/Generic.src/M000041.html +18 -0
- data/doc/classes/Bio/Graphics/Glyph/Line.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/Line.src/M000012.html +20 -0
- data/doc/classes/Bio/Graphics/Glyph/Line.src/M000014.html +20 -0
- data/doc/classes/Bio/Graphics/Glyph/Line.src/M000044.html +20 -0
- data/doc/classes/Bio/Graphics/Glyph/LineWithHandles.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/LineWithHandles.src/M000014.html +28 -0
- data/doc/classes/Bio/Graphics/Glyph/LineWithHandles.src/M000016.html +28 -0
- data/doc/classes/Bio/Graphics/Glyph/LineWithHandles.src/M000046.html +28 -0
- data/doc/classes/Bio/Graphics/Glyph/Spliced.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/Spliced.src/M000010.html +19 -0
- data/doc/classes/Bio/Graphics/Glyph/Spliced.src/M000012.html +19 -0
- data/doc/classes/Bio/Graphics/Glyph/Spliced.src/M000042.html +19 -0
- data/doc/classes/Bio/Graphics/Glyph/Transcript.html +113 -0
- data/doc/classes/Bio/Graphics/Glyph/Triangle.html +139 -0
- data/doc/classes/Bio/Graphics/Glyph/Triangle.src/M000007.html +21 -0
- data/doc/classes/Bio/Graphics/Glyph/Triangle.src/M000008.html +21 -0
- data/doc/classes/Bio/Graphics/Glyph/Triangle.src/M000036.html +21 -0
- data/doc/classes/{ImageMap.html → Bio/Graphics/ImageMap.html} +50 -16
- data/doc/classes/{ImageMap.src/M000001.html → Bio/Graphics/ImageMap.src/M000030.html} +3 -3
- data/doc/classes/Bio/Graphics/ImageMap.src/M000031.html +18 -0
- data/doc/classes/Bio/Graphics/ImageMap.src/M000032.html +18 -0
- data/doc/classes/Bio/Graphics/ImageMap.src/M000033.html +18 -0
- data/doc/classes/{ImageMap.src/M000002.html → Bio/Graphics/ImageMap.src/M000034.html} +7 -4
- data/doc/classes/Bio/Graphics/ImageMap.src/M000035.html +24 -0
- data/doc/classes/Bio/Graphics/ImageMap.src/M000062.html +18 -0
- data/doc/classes/Bio/Graphics/ImageMap.src/M000063.html +18 -0
- data/doc/classes/Bio/Graphics/ImageMap.src/M000064.html +27 -0
- data/doc/classes/Bio/Graphics/ImageMap.src/M000065.html +24 -0
- data/doc/classes/{ImageMap/ImageMapElement.html → Bio/Graphics/ImageMap/Element.html} +14 -14
- data/doc/classes/{ImageMap/ImageMapElement.src/M000003.html → Bio/Graphics/ImageMap/Element.src/M000034.html} +3 -3
- data/doc/classes/{ImageMap/ImageMapElement.src/M000004.html → Bio/Graphics/ImageMap/Element.src/M000035.html} +6 -4
- data/doc/classes/Bio/Graphics/ImageMap/Element.src/M000036.html +19 -0
- data/doc/classes/Bio/Graphics/ImageMap/Element.src/M000037.html +22 -0
- data/doc/classes/Bio/Graphics/ImageMap/Element.src/M000066.html +19 -0
- data/doc/classes/Bio/Graphics/ImageMap/Element.src/M000067.html +22 -0
- data/doc/classes/Bio/Graphics/Panel.html +70 -69
- data/doc/classes/Bio/Graphics/Panel.src/M000025.html +52 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000026.html +20 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000027.html +98 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000028.html +20 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000029.html +52 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000030.html +20 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000031.html +98 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000059.html +52 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000060.html +20 -0
- data/doc/classes/Bio/Graphics/Panel.src/M000061.html +98 -0
- data/doc/classes/Bio/Graphics/{Panel/Ruler.html → Ruler.html} +50 -21
- data/doc/classes/Bio/Graphics/Ruler.src/M000015.html +30 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000016.html +20 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000017.html +30 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000018.html +20 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000019.html +26 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000020.html +45 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000047.html +30 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000048.html +20 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000049.html +26 -0
- data/doc/classes/Bio/Graphics/Ruler.src/M000050.html +45 -0
- data/doc/classes/Bio/Graphics/SubFeature.html +348 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000001.html +73 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000002.html +69 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000023.html +73 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000024.html +69 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000027.html +73 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000028.html +69 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000057.html +73 -0
- data/doc/classes/Bio/Graphics/SubFeature.src/M000058.html +69 -0
- data/doc/classes/Bio/Graphics/{Panel/Track.html → Track.html} +67 -69
- data/doc/classes/Bio/Graphics/Track.src/M000017.html +39 -0
- data/doc/classes/Bio/Graphics/Track.src/M000018.html +37 -0
- data/doc/classes/Bio/Graphics/Track.src/M000019.html +45 -0
- data/doc/classes/Bio/Graphics/Track.src/M000020.html +41 -0
- data/doc/classes/Bio/Graphics/Track.src/M000021.html +39 -0
- data/doc/classes/Bio/Graphics/Track.src/M000022.html +37 -0
- data/doc/classes/Bio/Graphics/Track.src/M000023.html +45 -0
- data/doc/classes/Bio/Graphics/Track.src/M000051.html +39 -0
- data/doc/classes/Bio/Graphics/Track.src/M000052.html +37 -0
- data/doc/classes/Bio/Graphics/Track.src/M000053.html +45 -0
- data/doc/classes/Range.html +129 -0
- data/doc/classes/String.html +167 -0
- data/doc/classes/String.src/M000001.html +18 -0
- data/doc/classes/String.src/M000002.html +18 -0
- data/doc/classes/String.src/M000003.html +23 -0
- data/doc/classes/String.src/M000029.html +18 -0
- data/doc/classes/String.src/M000030.html +18 -0
- data/doc/classes/String.src/M000031.html +23 -0
- data/doc/classes/TestCustomGlyph.html +137 -0
- data/doc/classes/TestCustomGlyph.src/M000025.html +25 -0
- data/doc/classes/TestCustomGlyphInFile.html +167 -0
- data/doc/classes/TestCustomGlyphInFile.src/M000026.html +19 -0
- data/doc/classes/TestCustomGlyphInFile.src/M000027.html +25 -0
- data/doc/classes/TestCustomGlyphInFile.src/M000028.html +18 -0
- data/doc/classes/TestExtensions.html +152 -0
- data/doc/classes/TestExtensions.src/M000015.html +22 -0
- data/doc/classes/TestExtensions.src/M000016.html +25 -0
- data/doc/classes/TestFeature.html +152 -0
- data/doc/classes/TestFeature.src/M000017.html +19 -0
- data/doc/classes/TestFeature.src/M000018.html +21 -0
- data/doc/classes/TestImageMap.html +182 -0
- data/doc/classes/TestImageMap.src/M000019.html +22 -0
- data/doc/classes/TestImageMap.src/M000020.html +56 -0
- data/doc/classes/TestImageMap.src/M000021.html +56 -0
- data/doc/classes/TestImageMap.src/M000022.html +20 -0
- data/doc/classes/TestPanel.html +276 -0
- data/doc/classes/TestPanel.src/M000001.html +18 -0
- data/doc/classes/TestPanel.src/M000002.html +61 -0
- data/doc/classes/TestPanel.src/M000003.html +35 -0
- data/doc/classes/TestPanel.src/M000004.html +54 -0
- data/doc/classes/TestPanel.src/M000005.html +54 -0
- data/doc/classes/TestPanel.src/M000006.html +41 -0
- data/doc/classes/TestPanel.src/M000007.html +36 -0
- data/doc/classes/TestPanel.src/M000008.html +20 -0
- data/doc/classes/TestPanel.src/M000009.html +26 -0
- data/doc/classes/TestPanel.src/M000010.html +21 -0
- data/doc/classes/TestRuler.html +152 -0
- data/doc/classes/TestRuler.src/M000013.html +22 -0
- data/doc/classes/TestRuler.src/M000014.html +31 -0
- data/doc/classes/TestSubFeature.html +152 -0
- data/doc/classes/TestSubFeature.src/M000023.html +21 -0
- data/doc/classes/TestSubFeature.src/M000024.html +18 -0
- data/doc/classes/TestTrack.html +152 -0
- data/doc/classes/TestTrack.src/M000011.html +19 -0
- data/doc/classes/TestTrack.src/M000012.html +23 -0
- data/doc/created.rid +1 -1
- data/doc/files/README_DEV.html +399 -70
- data/doc/files/TUTORIAL.html +188 -67
- data/doc/files/lib/bio-graphics_rb.html +3 -2
- data/doc/files/lib/bio/graphics/feature_rb.html +12 -6
- data/doc/files/lib/bio/graphics/glyphs/box_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/common_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/directed_box_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/directed_generic_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/directed_spliced_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/dot_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/generic_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/line_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/line_with_handles_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/spliced_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/transcript_rb.html +113 -0
- data/doc/files/lib/bio/graphics/glyphs/triangle_rb.html +113 -0
- data/doc/files/lib/bio/graphics/image_map_rb.html +3 -2
- data/doc/files/lib/bio/graphics/panel_rb.html +10 -2
- data/doc/files/lib/bio/graphics/ruler_rb.html +3 -2
- data/doc/files/lib/bio/graphics/subfeature_rb.html +114 -0
- data/doc/files/lib/bio/graphics/track_rb.html +3 -2
- data/doc/files/lib/feature_rb.html +101 -0
- data/doc/files/samples/arkdb_features_rb.html +101 -0
- data/doc/files/samples/glyph_showcase_rb.html +108 -0
- data/doc/files/samples/protein_domains_rb.html +115 -0
- data/doc/files/samples/subfeatures_rb.html +108 -0
- data/doc/files/scripts/gff2png_rb.html +154 -0
- data/doc/files/test/unit/custom_glyph_in_file_rb.html +101 -0
- data/doc/files/test/unit/test_class_extensions_rb.html +108 -0
- data/doc/files/test/unit/test_creation_rb.html +108 -0
- data/doc/files/test/unit/test_custom_glyph_rb.html +108 -0
- data/doc/files/test/unit/test_draw_rb.html +108 -0
- data/doc/files/test/unit/test_imagemap_rb.html +108 -0
- data/doc/files/test/unit/test_subfeatures_rb.html +108 -0
- data/doc/fr_class_index.html +24 -6
- data/doc/fr_file_index.html +14 -0
- data/doc/fr_method_index.html +51 -19
- data/doc/images/glyph_showcase.png +0 -0
- data/doc/images/terms.svg +146 -132
- data/images/glyph_showcase.png +0 -0
- data/lib/bio-graphics.rb +38 -6
- data/lib/bio/graphics/feature.rb +212 -440
- data/lib/bio/graphics/glyphs/box.rb +21 -0
- data/lib/bio/graphics/glyphs/common.rb +149 -0
- data/lib/bio/graphics/glyphs/directed_box.rb +28 -0
- data/lib/bio/graphics/glyphs/directed_generic.rb +23 -0
- data/lib/bio/graphics/glyphs/directed_spliced.rb +39 -0
- data/lib/bio/graphics/glyphs/dot.rb +21 -0
- data/lib/bio/graphics/glyphs/generic.rb +15 -0
- data/lib/bio/graphics/glyphs/line.rb +17 -0
- data/lib/bio/graphics/glyphs/line_with_handles.rb +25 -0
- data/lib/bio/graphics/glyphs/spliced.rb +16 -0
- data/lib/bio/graphics/glyphs/transcript.rb +12 -0
- data/lib/bio/graphics/glyphs/triangle.rb +18 -0
- data/lib/bio/graphics/image_map.rb +25 -4
- data/lib/bio/graphics/panel.rb +266 -209
- data/lib/bio/graphics/ruler.rb +95 -96
- data/lib/bio/graphics/subfeature.rb +187 -0
- data/lib/bio/graphics/track.rb +155 -156
- data/lib/feature.rb +204 -0
- data/samples/arkdb_features.rb +10 -8
- data/samples/glyph_showcase.rb +58 -22
- data/samples/protein_domains.rb +19 -0
- data/samples/subfeatures.rb +31 -0
- data/test/unit/custom_glyph_in_file.rb +12 -0
- data/test/unit/data.txt +32 -0
- data/test/unit/test_class_extensions.rb +23 -0
- data/test/unit/test_creation.rb +43 -13
- data/test/unit/test_custom_glyph.rb +50 -0
- data/test/unit/test_draw.rb +211 -0
- data/test/unit/test_imagemap.rb +134 -0
- data/test/unit/test_subfeatures.rb +17 -0
- metadata +396 -119
- data/doc/classes/Bio/Graphics/Panel.src/M000005.html +0 -29
- data/doc/classes/Bio/Graphics/Panel.src/M000006.html +0 -19
- data/doc/classes/Bio/Graphics/Panel.src/M000007.html +0 -68
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000008.html +0 -20
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000009.html +0 -28
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000010.html +0 -54
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000013.html +0 -20
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000014.html +0 -20
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000015.html +0 -28
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000016.html +0 -59
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000017.html +0 -20
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000018.html +0 -28
- data/doc/classes/Bio/Graphics/Panel/Ruler.src/M000019.html +0 -59
- data/doc/classes/Bio/Graphics/Panel/Track.src/M000008.html +0 -26
- data/doc/classes/Bio/Graphics/Panel/Track.src/M000009.html +0 -42
- data/doc/classes/Bio/Graphics/Panel/Track.src/M000010.html +0 -52
- data/doc/classes/Bio/Graphics/Panel/Track.src/M000011.html +0 -23
- data/doc/classes/Bio/Graphics/Panel/Track.src/M000012.html +0 -43
- data/doc/classes/Bio/Graphics/Panel/Track.src/M000013.html +0 -259
- data/doc/classes/Bio/Graphics/Panel/Track/Feature.src/M000011.html +0 -65
- data/doc/classes/Bio/Graphics/Panel/Track/Feature.src/M000012.html +0 -39
- data/doc/classes/Bio/Graphics/Panel/Track/Feature.src/M000013.html +0 -27
- data/doc/classes/Bio/Graphics/Panel/Track/Feature.src/M000014.html +0 -225
- data/doc/classes/Bio/Graphics/Panel/Track/Feature.src/M000015.html +0 -48
- data/doc/classes/Bio/Graphics/Panel/Track/Feature/PixelRange.src/M000012.html +0 -18
- data/doc/classes/Bio/Graphics/Panel/Track/Feature/PixelRange.src/M000013.html +0 -18
- data/doc/classes/Bio/Graphics/Panel/Track/Feature/PixelRange.src/M000015.html +0 -18
- data/doc/classes/Bio/Graphics/Panel/Track/Feature/PixelRange.src/M000016.html +0 -18
data/doc/files/TUTORIAL.html
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Thu
|
59
|
+
<td>Thu Jan 24 20:03:15 +0000 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -74,7 +74,7 @@
|
|
74
74
|
</p>
|
75
75
|
<h1><a href="../classes/Bio/Graphics.html">Bio::Graphics</a> tutorial</h1>
|
76
76
|
<p>
|
77
|
-
Copyright (C) 2007 Jan Aerts <jan.aerts@bbsrc.ac.uk>
|
77
|
+
Copyright (C) 2007, 2008 Jan Aerts <jan.aerts@bbsrc.ac.uk>
|
78
78
|
</p>
|
79
79
|
<p>
|
80
80
|
License: The Ruby License
|
@@ -93,12 +93,19 @@ This <a href="../classes/Bio/Graphics.html">Bio::Graphics</a> library
|
|
93
93
|
allows for drawing overviews of genomic regions, similar to the pictures
|
94
94
|
drawn by <a href="http://www.gmod.org/wiki/index.php/Gbrowse">gbrowse</a>.
|
95
95
|
Basically, it allows creating simple images that display features on a
|
96
|
-
linear map
|
97
|
-
|
96
|
+
linear map, including the position of subdomains in a protein (see
|
97
|
+
picture). It‘s now also possible to create vertical pictures.
|
98
|
+
</p>
|
99
|
+
<p>
|
100
|
+
<img src="../images/protein_domains.png" />
|
101
|
+
</p>
|
102
|
+
<p>
|
103
|
+
<img src="../images/vertical.png" />
|
98
104
|
</p>
|
99
105
|
<p>
|
100
106
|
Any <a href="../classes/Bio/Graphics.html">Bio::Graphics</a> image consists
|
101
|
-
of the following parts (nomenclature identical to that from
|
107
|
+
of the following parts (concepts and nomenclature identical to that from <a
|
108
|
+
href="http://www.bioperl.org/wiki/Main_Page">bioperl</a>):
|
102
109
|
</p>
|
103
110
|
<ul>
|
104
111
|
<li>one panel: container of all tracks
|
@@ -143,11 +150,12 @@ Each of these tracks has zero or more features.
|
|
143
150
|
</p>
|
144
151
|
<p>
|
145
152
|
As a feature can only exist within the confines of a track and a track can
|
146
|
-
only exist within the confines of a panel, these classes are
|
147
|
-
This means that the Track class is not
|
148
|
-
href="../classes/Bio/Graphics/
|
153
|
+
only exist within the confines of a panel, these classes are encapsulated.
|
154
|
+
This means that the Track class is not <a
|
155
|
+
href="../classes/Bio/Graphics/Track.html">Bio::Graphics::Track</a>, but <a
|
156
|
+
href="../classes/Bio/Graphics/Track.html">Bio::Graphics::Panel::Track</a>;
|
149
157
|
the same goes for <a
|
150
|
-
href="../classes/Bio/Graphics/
|
158
|
+
href="../classes/Bio/Graphics/Feature.html">Bio::Graphics::Panel::Track::Feature</a>.
|
151
159
|
</p>
|
152
160
|
<h2>Glyphs</h2>
|
153
161
|
<p>
|
@@ -178,44 +186,60 @@ for an nicer example.
|
|
178
186
|
For an explanation of the arguments with each method for this example, see
|
179
187
|
the <a href="../classes/Bio/Graphics/Panel.html">Bio::Graphics::Panel</a>
|
180
188
|
and <a
|
181
|
-
href="../classes/Bio/Graphics/
|
189
|
+
href="../classes/Bio/Graphics/Track.html">Bio::Graphics::Panel::Track</a>
|
182
190
|
object documentation.
|
183
191
|
</p>
|
184
192
|
<pre>
|
185
193
|
1 # Load the library
|
186
|
-
2 require 'bio-graphics' # or require_gem 'bio-graphics'
|
194
|
+
2 require 'bio-graphics' # or require_gem 'bio-graphics' or gem 'bio-graphics'
|
187
195
|
3
|
188
196
|
4 # Create the panel
|
189
|
-
5 my_panel = Bio::Graphics::Panel.new(500,
|
197
|
+
5 my_panel = Bio::Graphics::Panel.new(500, :width => 1000)
|
190
198
|
6
|
191
199
|
7 # Create the tracks
|
192
|
-
8 generic_track = my_panel.add_track('generic')
|
193
|
-
9
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
200
|
+
8 generic_track = my_panel.add_track('generic', :label => false)
|
201
|
+
9 line_track = my_panel.add_track('line', :label => false, :glyph => :line, :colour => [0,0,1])
|
202
|
+
10 line_with_handles_track = my_panel.add_track('line_with_handles', :label => false, :glyph => :line_with_handles, [1,0,0])
|
203
|
+
11 directed_track = my_panel.add_track('directed', :label => false, :glyph => :directed_generic, :colour => [0,1,0])
|
204
|
+
12 triangle_track = my_panel.add_track('triangle', :label => false, :glyph => :triangle, :colour => [1,0,0])
|
205
|
+
13 spliced_track = my_panel.add_track('spliced', :label => false, :glyph => :spliced, :colour => [1,0,0])
|
206
|
+
14 directed_spliced_track = my_panel.add_track('directed_spliced', :label => false, :glyph => :directed_spliced, :colour => [1,0,1])
|
207
|
+
15 composite_track = my_panel.add_track('composite_features', :label => false, :glyph => { 'utr' => :line, 'cds' => :directed_spliced})
|
208
|
+
16
|
209
|
+
17 # Add features to each track
|
210
|
+
18 generic_track.add_feature(Bio::Feature.new('clone', '250..375'), :link => 'http://www.newsforge.com')
|
211
|
+
19 generic_track.add_feature(Bio::Feature.new('clone', '54..124'), :link => 'http://www.thearkdb.org')
|
212
|
+
20 generic_track.add_feature(Bio::Feature.new('clone', '100..449'), :link => 'http://www.google.com')
|
213
|
+
21
|
214
|
+
22 line_track.add_feature(Bio::Feature.new('utr', 'complement(200..320)'))
|
215
|
+
23 line_track.add_feature(Bio::Feature.new('utr', '355..480'), :link => 'http://www.zdnet.co.uk')
|
216
|
+
24
|
217
|
+
25 line_with_handles_track.add_feature(Bio::Feature.new('utr', 'complement(200..320)'))
|
218
|
+
26 line_with_handles_track.add_feature(Bio::Feature.new('utr', '355..480'), :link => 'http://www.zdnet.co.uk')
|
219
|
+
27
|
220
|
+
28 directed_track.add_feature(Bio::Feature.new('primer', '50..60'), :link => 'http://www.google.com')
|
221
|
+
29 directed_track.add_feature(Bio::Feature.new('primer', 'complement(80..120)'), :link => 'http://www.sourceforge.net')
|
222
|
+
30
|
223
|
+
31 triangle_track.add_feature(Bio::Feature.new('snp', '56'))
|
224
|
+
32 triangle_track.add_feature(Bio::Feature.new('snp', '103'), :link => 'http://digg.com')
|
225
|
+
33
|
226
|
+
34 spliced_track.add_feature(Bio::Feature.new('spliced', 'join(34..52,109..183)'), :link => 'http://news.bbc.co.uk')
|
227
|
+
35 spliced_track.add_feature(Bio::Feature.new('spliced', 'complement(join(170..231,264..299,350..360,409..445))'))
|
228
|
+
36 spliced_track.add_feature(Bio::Feature.new('spliced', 'join(134..152,209..283)'))
|
229
|
+
37
|
230
|
+
38 directed_spliced_track.add_feature(Bio::Feature.new('cds', 'join(34..52,109..183)'), :link => 'http://www.vrtnieuws.net')
|
231
|
+
39 directed_spliced_track.add_feature(Bio::Feature.new('cds', 'complement(join(170..231,264..299,350..360,409..445))'), :link => 'http://bioinformatics.roslin.ac.uk')
|
232
|
+
40 directed_spliced_track.add_feature(Bio::Feature.new('cds', 'join(134..152,209..283)'))
|
233
|
+
41
|
234
|
+
42 utr5 = Bio::Feature.new('utr', '100..150')
|
235
|
+
43 cds = Bio::Feature.new('cds', 'join(150..225, 250..275, 310..330)')
|
236
|
+
44 utr3 = Bio::Feature.new('utr', '330..375')
|
237
|
+
45
|
238
|
+
46 transcript = Bio::Feature.new('transcript', 'join(100..150, 150..225, 250..275, 310..330, 330..375)', [], nil, [utr5,cds,utr3])
|
239
|
+
47 composite_track.add_feature(transcript, :label => 'my_transcript')
|
240
|
+
48
|
241
|
+
49 # Draw the thing
|
242
|
+
50 my_panel.draw('glyph_showcase.png')
|
219
243
|
</pre>
|
220
244
|
<p>
|
221
245
|
Let‘s walk through this:
|
@@ -232,42 +256,41 @@ you‘ll be working on. The following parameters were used:
|
|
232
256
|
<li>The sequence is 500 bp long.
|
233
257
|
|
234
258
|
</li>
|
235
|
-
<li>The width of the picture will be
|
236
|
-
|
237
|
-
</li>
|
238
|
-
<li>A HTML page will be created to make hyperlinks possible (the <em>true</em>)
|
239
|
-
|
240
|
-
</li>
|
241
|
-
<li>The picture will be zoomed in from bp 1 to 500 (i.e. completely zoomed
|
242
|
-
out).
|
259
|
+
<li>The width of the picture will be 1000 points.
|
243
260
|
|
244
261
|
</li>
|
245
262
|
</ul>
|
246
263
|
</li>
|
247
|
-
<li>Lines 8-
|
264
|
+
<li>Lines 8-15: Create the different tracks. Parameters are:
|
248
265
|
|
249
266
|
<ul>
|
250
267
|
<li>name.
|
251
268
|
|
252
269
|
</li>
|
253
|
-
<li>
|
254
|
-
|
270
|
+
<li>flag if feature labels should be drawn (here: false)
|
271
|
+
|
272
|
+
</li>
|
273
|
+
<li>the default glyph for features in this track. This can be overridden on a
|
274
|
+
feature-by-feature basis. See the picture above and
|
275
|
+
Bio::Graphics::Panel::Track#new for allowed values.
|
255
276
|
|
256
277
|
</li>
|
257
|
-
<li>
|
258
|
-
|
278
|
+
<li>the default colour for features in this track. This can also be overridden
|
279
|
+
on a feature-by-feature basis. At the moment in RGB. (This will probably
|
280
|
+
change to colour names in the future).
|
259
281
|
|
260
282
|
</li>
|
261
283
|
</ul>
|
262
284
|
</li>
|
263
|
-
<li>Lines
|
285
|
+
<li>Lines 18-47: Add features to each track. Parameters are:
|
264
286
|
|
265
287
|
<ul>
|
266
|
-
<li>
|
288
|
+
<li>a <a href="../classes/Bio/Feature.html">Bio::Feature</a> object. (See
|
289
|
+
bioruby documentation at <a
|
290
|
+
href="http://www.bioruby.org">www.bioruby.org</a>)
|
267
291
|
|
268
292
|
</li>
|
269
|
-
<li>
|
270
|
-
href="http://www.bioruby.org">bioruby's</a> Bio::Locations object.
|
293
|
+
<li>the label to be used
|
271
294
|
|
272
295
|
</li>
|
273
296
|
<li>link.
|
@@ -275,12 +298,34 @@ href="http://www.bioruby.org">bioruby's</a> Bio::Locations object.
|
|
275
298
|
</li>
|
276
299
|
</ul>
|
277
300
|
</li>
|
278
|
-
<li>Line
|
279
|
-
|
280
|
-
well.
|
301
|
+
<li>Line 50: Create the actual picture. If the the initial Panel#new call
|
302
|
+
contains the parameter ":clickable => true" (in line 5), a
|
303
|
+
HTML file is created as well.
|
281
304
|
|
282
305
|
</li>
|
283
306
|
</ul>
|
307
|
+
<p>
|
308
|
+
That‘s pretty clear, but what‘s happening with the
|
309
|
+
composite_track (on lines 15 and 42-47)?
|
310
|
+
</p>
|
311
|
+
<p>
|
312
|
+
To set the glyph for a feature (or the default glyph in a track), you
|
313
|
+
normally use a symbol, like :generic or :directed_spliced. For composite
|
314
|
+
features, however, we‘ve made it possible to have different
|
315
|
+
subfeatures drawn in different ways. In this example: we want to draw the
|
316
|
+
UTRs as thin lines, while the CDS is big boxes connected with thin lines.
|
317
|
+
How does this work? See lines 42 to 47. If the feature you‘re adding
|
318
|
+
to a track has subfeatures, you can use the type of the subfeature to
|
319
|
+
direct the glyph to use. In the example above: the utr5 and utr3 have
|
320
|
+
‘utr’ as the first argument in the Bio::Feature#new, and the
|
321
|
+
cds object has ‘cds’. The transcript that gets created in line
|
322
|
+
46 takes these three <a href="../classes/Bio/Feature.html">Bio::Feature</a>
|
323
|
+
objects as subfeatures (the last argument). Now up in line 15 we set the
|
324
|
+
glyph of this track to the hash {‘utr’ => :line,
|
325
|
+
‘cds’ => :directed_spliced}. What this does, is it takes
|
326
|
+
each subfeature in turn, and draws it using the glyph that matches its
|
327
|
+
type.
|
328
|
+
</p>
|
284
329
|
<h3>Hyperlinks</h3>
|
285
330
|
<p>
|
286
331
|
There are no graphic formats that are inherently clickable (SVG is a
|
@@ -290,6 +335,48 @@ file is created with the same name as the picture but obviously the .html
|
|
290
335
|
extension. This file contains the map and will display a clickable picture
|
291
336
|
when loaded in a webbrowser.
|
292
337
|
</p>
|
338
|
+
<h3>Custom glyphs</h3>
|
339
|
+
<p>
|
340
|
+
The user can easily create custom glyphs to add to the functionality of the
|
341
|
+
<a href="../classes/Bio/Graphics.html">Bio::Graphics</a> library. The only
|
342
|
+
thing that has to be done is add a file to lib/bio/graphics/glyphs. The
|
343
|
+
file should look like this:
|
344
|
+
</p>
|
345
|
+
<pre>
|
346
|
+
module Bio::Graphics::Glyph
|
347
|
+
class Bio::Graphics::Glyph::SomeName < Bio::Graphics::Glyph::Common
|
348
|
+
def draw
|
349
|
+
@feature_context.rectangle(x1, y1, x2, y2).fill
|
350
|
+
end
|
351
|
+
end
|
352
|
+
end
|
353
|
+
</pre>
|
354
|
+
<p>
|
355
|
+
What are the properties of that file?
|
356
|
+
</p>
|
357
|
+
<ul>
|
358
|
+
<li>It‘s name has to be the same as the class name specified on the
|
359
|
+
second line, but in snake_case instead of CamelCase. The above file
|
360
|
+
therefore should be called some_name.rb.
|
361
|
+
|
362
|
+
</li>
|
363
|
+
<li>Give the class a sensible name (in CamelCase).
|
364
|
+
|
365
|
+
</li>
|
366
|
+
<li>Just define the draw method. Have a look at the other files in the glyphs/
|
367
|
+
directory for examples. Some values you can use:
|
368
|
+
|
369
|
+
<ul>
|
370
|
+
<li>Bio::Graphics::FEATURE_HEIGHT = default height in pixels for a glyph
|
371
|
+
|
372
|
+
</li>
|
373
|
+
<li>Bio::Graphics::FEATURE_ARROW_LENGTH = default width in pixels of arrows on
|
374
|
+
features
|
375
|
+
|
376
|
+
</li>
|
377
|
+
</ul>
|
378
|
+
</li>
|
379
|
+
</ul>
|
293
380
|
<h2>Download and installation</h2>
|
294
381
|
<p>
|
295
382
|
Development of the library is at <a
|
@@ -299,12 +386,11 @@ href="http://rubyforge.org/projects/bio-graphics">rubyforge.org/projects/bio-gra
|
|
299
386
|
There are different ways to install the library.
|
300
387
|
</p>
|
301
388
|
<ul>
|
302
|
-
<li>
|
303
|
-
svn://rubyforge.org/var/svn/bio-graphics"
|
389
|
+
<li>The easy way: gem install bio-graphics
|
304
390
|
|
305
391
|
</li>
|
306
|
-
<li>
|
307
|
-
|
392
|
+
<li>The hard (but cutting-edge) way: from SVN: svn checkout
|
393
|
+
svn://rubyforge.org/var/svn/bio-graphics
|
308
394
|
|
309
395
|
</li>
|
310
396
|
</ul>
|
@@ -314,15 +400,44 @@ You‘ll need to have the following installed to use this library:
|
|
314
400
|
</p>
|
315
401
|
<ul>
|
316
402
|
<li>bioruby (<a href="http://www.bioruby.org">www.bioruby.org</a>), to parse
|
317
|
-
the feature locations.
|
403
|
+
the feature locations.
|
318
404
|
|
319
405
|
</li>
|
320
406
|
<li>cairo (<a href="http://cairographics.org">cairographics.org</a>), to do the
|
321
|
-
actual drawing.
|
322
|
-
|
407
|
+
actual drawing.
|
408
|
+
|
409
|
+
</li>
|
410
|
+
<li>pango (<a href="http://www.pango.org">www.pango.org</a>), to do the high
|
411
|
+
level text drawing.
|
323
412
|
|
324
413
|
</li>
|
325
414
|
</ul>
|
415
|
+
<h3>Ubuntu</h3>
|
416
|
+
<ul>
|
417
|
+
<li>gem install bio
|
418
|
+
|
419
|
+
</li>
|
420
|
+
<li>sudo apt-get install libcairo-ruby
|
421
|
+
|
422
|
+
</li>
|
423
|
+
</ul>
|
424
|
+
<h3>Windows (thanks to Naohisa Goto)</h3>
|
425
|
+
<p>
|
426
|
+
Install Ruby-GNOME2 Win32 GUI Installer, which contains rcairo-1.2.6. Get
|
427
|
+
it from ruby-gnome2.sourceforge.jp/?News_20070212_1
|
428
|
+
(ruby-gnome2-0.16.0-1-i386-mswin32.exe)
|
429
|
+
</p>
|
430
|
+
<p>
|
431
|
+
During installation, check the "Register enviroment variables"
|
432
|
+
option.
|
433
|
+
</p>
|
434
|
+
<h3>Mac OSX (thanks to Ed Allen)</h3>
|
435
|
+
<p>
|
436
|
+
We haven‘t figured out yet how to install cairo and pango separately
|
437
|
+
on a Mac. However, if you install Why The Lucky Stiff‘s Shoes GUI for
|
438
|
+
Ruby toolkit, you get the pango and ruby-pango bindings for free. Get it
|
439
|
+
from code.whytheluckystiff.net/shoes/wiki/DownloadShoes
|
440
|
+
</p>
|
326
441
|
|
327
442
|
</div>
|
328
443
|
|
@@ -354,5 +469,11 @@ libcairo-ruby".
|
|
354
469
|
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
355
470
|
</div>
|
356
471
|
|
472
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
473
|
+
</script>
|
474
|
+
<script type="text/javascript">
|
475
|
+
_uacct = "UA-2131816-4";
|
476
|
+
urchinTracker();
|
477
|
+
</script>
|
357
478
|
</body>
|
358
|
-
</html>
|
479
|
+
</html>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Thu
|
59
|
+
<td>Thu Jan 24 20:03:22 +0000 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -71,7 +71,8 @@
|
|
71
71
|
<div id="description">
|
72
72
|
<h1>bio-graphics.rb - Loading all <a href="../../classes/Bio/Graphics.html">Bio::Graphics</a> modules</h1>
|
73
73
|
<table>
|
74
|
-
<tr><td valign="top">Copyright:</td><td>Copyright (C) 2007 Jan Aerts <jan.aerts@bbsrc.ac.uk>
|
74
|
+
<tr><td valign="top">Copyright:</td><td>Copyright (C) 2007 Jan Aerts <jan.aerts@bbsrc.ac.uk> Charles Comstock
|
75
|
+
<dgtized@gmail.com>
|
75
76
|
|
76
77
|
</td></tr>
|
77
78
|
<tr><td valign="top">License:</td><td>The Ruby License
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Thu
|
59
|
+
<td>Thu Jan 24 16:22:58 +0000 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -68,15 +68,21 @@
|
|
68
68
|
|
69
69
|
<div id="contextContent">
|
70
70
|
|
71
|
+
<div id="description">
|
72
|
+
<h1>bio/graphics/feature.rb - feature class</h1>
|
73
|
+
<table>
|
74
|
+
<tr><td valign="top">Copyright:</td><td>Copyright (C) 2007, 2008 Jan Aerts <jan.aerts@bbsrc.ac.uk> Charles
|
75
|
+
Comstock <dgtized@gmail.com>
|
71
76
|
|
72
|
-
|
73
|
-
|
77
|
+
</td></tr>
|
78
|
+
<tr><td valign="top">License:</td><td>The Ruby License
|
79
|
+
|
80
|
+
</td></tr>
|
81
|
+
</table>
|
74
82
|
|
75
|
-
<div class="name-list">
|
76
|
-
yaml
|
77
|
-
</div>
|
78
83
|
</div>
|
79
84
|
|
85
|
+
|
80
86
|
</div>
|
81
87
|
|
82
88
|
|
@@ -0,0 +1,113 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>File: box.rb</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../../../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="fileHeader">
|
50
|
+
<h1>box.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>lib/bio/graphics/glyphs/box.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Thu Jan 24 16:23:42 +0000 2008</td>
|
60
|
+
</tr>
|
61
|
+
</table>
|
62
|
+
</div>
|
63
|
+
<!-- banner header -->
|
64
|
+
|
65
|
+
<div id="bodyContent">
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
<div id="contextContent">
|
70
|
+
|
71
|
+
<div id="description">
|
72
|
+
<h1>bio/graphics/glyphs/box - box glyph</h1>
|
73
|
+
<table>
|
74
|
+
<tr><td valign="top">Copyright:</td><td>Copyright (C) 2007, 2008 Jan Aerts <jan.aerts@bbsrc.ac.uk>
|
75
|
+
|
76
|
+
</td></tr>
|
77
|
+
<tr><td valign="top">License:</td><td>The Ruby License
|
78
|
+
|
79
|
+
</td></tr>
|
80
|
+
</table>
|
81
|
+
|
82
|
+
</div>
|
83
|
+
|
84
|
+
|
85
|
+
</div>
|
86
|
+
|
87
|
+
|
88
|
+
</div>
|
89
|
+
|
90
|
+
|
91
|
+
<!-- if includes -->
|
92
|
+
|
93
|
+
<div id="section">
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
<!-- if method_list -->
|
103
|
+
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
|
108
|
+
<div id="validator-badges">
|
109
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
110
|
+
</div>
|
111
|
+
|
112
|
+
</body>
|
113
|
+
</html>
|