MARQ 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/R/CustomDS.R +80 -0
- data/R/GEO.R +249 -0
- data/R/MA.R +359 -0
- data/README.rdoc +29 -0
- data/bin/marq_config +170 -0
- data/install_scripts/CustomDS/Rakefile +223 -0
- data/install_scripts/GEO/Rakefile +258 -0
- data/install_scripts/GEO/platforms/GPL100.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1002.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1007.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL101.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1010.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1073.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1074.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1090.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1104.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL118.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1205.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1211.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1213.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1219.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1223.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1226.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1229.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1230.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1231.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1232.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1260.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1261.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL127.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL128.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1290.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1292.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1293.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1294.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1295.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL13.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1310.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1313.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1323.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1331.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1352.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1355.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1382.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1387.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1397.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL14.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1412.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1415.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1420.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL144.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1449.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1458.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1523.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1524.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1528.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL153.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1530.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1535.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL155.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL163.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL168.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL169.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1704.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1708.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1739.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1740.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1749.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL177.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1790.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1792.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL181.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1818.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1820.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1823.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1826.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL183.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1831.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1833.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1872.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1911.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1914.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1928.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1942.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1945.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL1964.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL198.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL1981.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL200.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2006.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL201.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL2011.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2026.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL205.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL207.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2136.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL220.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL226.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL24.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL246.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL247.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2507.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL2529.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL2531.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL254.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2569.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL257.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2598.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL260.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2614.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL2622.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2623.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2660.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2670.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2677.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2700.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL2721.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2727.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL273.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2763.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2824.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL284.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL287.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL2872.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL288.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL2883.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL289.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL2895.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL2897.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2902.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL2987.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL2995.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL3039.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL3050.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL3084.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL3113.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL317.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL319.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL32.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL3222.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL3295.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL3305.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL3306.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL3307.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL333.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL3341.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL3349.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL339.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL340.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL3408.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL341.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL3415.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL3423.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL3440.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL3457.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL3504.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL3506.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL355.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL3558.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL3607.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL368.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL3695.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL371.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL3834.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL4006.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL4055.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL409.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL4191.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL4226.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL4371.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL4567.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL4685.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL483.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL49.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL50.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL500.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL507.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL51.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL513.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL519.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL52.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL529.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL53.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL5356.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL538.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL54.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL543.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL544.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL545.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL546.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL547.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL549.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL550.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL56.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL560.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL564.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL57.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL570.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL571.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL576.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL58.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL5823.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL59.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL5915.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL5947.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL61.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL64.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL6419.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL6424.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL65.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL6574.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL6649.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL67.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL6720.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL7054.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL737.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL738.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL74.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL75.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL76.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL764.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL772.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL782.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL783.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL784.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL80.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL81.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL82.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL83.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL85.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL86.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL87.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL870.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL875.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL884.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL887.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL89.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL890.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL891.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL90.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL91.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL92.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL920.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL922.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL924.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL93.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL96.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL968.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL97.yaml +4 -0
- data/install_scripts/GEO/platforms/GPL98.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL981.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL99.yaml +7 -0
- data/install_scripts/GEO/platforms/GPL999.yaml +7 -0
- data/install_scripts/GEO/series/GSE10018.yaml +61 -0
- data/install_scripts/GEO/series/GSE1002.yaml +135 -0
- data/install_scripts/GEO/series/GSE10066.yaml +31 -0
- data/install_scripts/GEO/series/GSE10073.yaml +19 -0
- data/install_scripts/GEO/series/GSE10091.yaml +15 -0
- data/install_scripts/GEO/series/GSE101.yaml +17 -0
- data/install_scripts/GEO/series/GSE10100.yaml +15 -0
- data/install_scripts/GEO/series/GSE10101.yaml +15 -0
- data/install_scripts/GEO/series/GSE10102.yaml +15 -0
- data/install_scripts/GEO/series/GSE10267.yaml +37 -0
- data/install_scripts/GEO/series/GSE10268.yaml +115 -0
- data/install_scripts/GEO/series/GSE10279.yaml +23 -0
- data/install_scripts/GEO/series/GSE103.yaml +19 -0
- data/install_scripts/GEO/series/GSE104.yaml +19 -0
- data/install_scripts/GEO/series/GSE10514.yaml +27 -0
- data/install_scripts/GEO/series/GSE10521.yaml +56 -0
- data/install_scripts/GEO/series/GSE10554.yaml +19 -0
- data/install_scripts/GEO/series/GSE1073.yaml +127 -0
- data/install_scripts/GEO/series/GSE10860.yaml +25 -0
- data/install_scripts/GEO/series/GSE10930.yaml +15 -0
- data/install_scripts/GEO/series/GSE10933.yaml +15 -0
- data/install_scripts/GEO/series/GSE10944.yaml +21 -0
- data/install_scripts/GEO/series/GSE10947.yaml +21 -0
- data/install_scripts/GEO/series/GSE10948.yaml +21 -0
- data/install_scripts/GEO/series/GSE11061.yaml +19 -0
- data/install_scripts/GEO/series/GSE11071.yaml +67 -0
- data/install_scripts/GEO/series/GSE11111.yaml +25 -0
- data/install_scripts/GEO/series/GSE11236.yaml +25 -0
- data/install_scripts/GEO/series/GSE11282.yaml +19 -0
- data/install_scripts/GEO/series/GSE11377.yaml +19 -0
- data/install_scripts/GEO/series/GSE11380.yaml +13 -0
- data/install_scripts/GEO/series/GSE11397.yaml +55 -0
- data/install_scripts/GEO/series/GSE11412.yaml +11 -0
- data/install_scripts/GEO/series/GSE11452.yaml +354 -0
- data/install_scripts/GEO/series/GSE11620.yaml +33 -0
- data/install_scripts/GEO/series/GSE11621.yaml +31 -0
- data/install_scripts/GEO/series/GSE11651.yaml +94 -0
- data/install_scripts/GEO/series/GSE11754.yaml +29 -0
- data/install_scripts/GEO/series/GSE11799.yaml +59 -0
- data/install_scripts/GEO/series/GSE11856.yaml +11 -0
- data/install_scripts/GEO/series/GSE11878.yaml +19 -0
- data/install_scripts/GEO/series/GSE11983.yaml +15 -0
- data/install_scripts/GEO/series/GSE12004.yaml +41 -0
- data/install_scripts/GEO/series/GSE12055.yaml +109 -0
- data/install_scripts/GEO/series/GSE12061.yaml +13 -0
- data/install_scripts/GEO/series/GSE12104.yaml +10 -0
- data/install_scripts/GEO/series/GSE12138.yaml +13 -0
- data/install_scripts/GEO/series/GSE12150.yaml +32 -0
- data/install_scripts/GEO/series/GSE12684.yaml +47 -0
- data/install_scripts/GEO/series/GSE12685.yaml +34 -0
- data/install_scripts/GEO/series/GSE1365.yaml +14 -0
- data/install_scripts/GEO/series/GSE1404.yaml +596 -0
- data/install_scripts/GEO/series/GSE1492.yaml +15 -0
- data/install_scripts/GEO/series/GSE15222.yaml +731 -0
- data/install_scripts/GEO/series/GSE1553.yaml +23 -0
- data/install_scripts/GEO/series/GSE1617.yaml +39 -0
- data/install_scripts/GEO/series/GSE1688.yaml +36 -0
- data/install_scripts/GEO/series/GSE1693.yaml +60 -0
- data/install_scripts/GEO/series/GSE1752.yaml +32 -0
- data/install_scripts/GEO/series/GSE1753.yaml +16 -0
- data/install_scripts/GEO/series/GSE1754.yaml +19 -0
- data/install_scripts/GEO/series/GSE1758.yaml +15 -0
- data/install_scripts/GEO/series/GSE1759.yaml +18 -0
- data/install_scripts/GEO/series/GSE1760.yaml +18 -0
- data/install_scripts/GEO/series/GSE1763.yaml +19 -0
- data/install_scripts/GEO/series/GSE1915.yaml +39 -0
- data/install_scripts/GEO/series/GSE1927.yaml +14 -0
- data/install_scripts/GEO/series/GSE1941.yaml +23 -0
- data/install_scripts/GEO/series/GSE1942.yaml +31 -0
- data/install_scripts/GEO/series/GSE1944.yaml +58 -0
- data/install_scripts/GEO/series/GSE1975.yaml +65 -0
- data/install_scripts/GEO/series/GSE20.yaml +24 -0
- data/install_scripts/GEO/series/GSE2107.yaml +14 -0
- data/install_scripts/GEO/series/GSE2159.yaml +31 -0
- data/install_scripts/GEO/series/GSE2246.yaml +157 -0
- data/install_scripts/GEO/series/GSE2263.yaml +57 -0
- data/install_scripts/GEO/series/GSE2267.yaml +155 -0
- data/install_scripts/GEO/series/GSE23.yaml +58 -0
- data/install_scripts/GEO/series/GSE2329.yaml +43 -0
- data/install_scripts/GEO/series/GSE2330.yaml +55 -0
- data/install_scripts/GEO/series/GSE2349.yaml +19 -0
- data/install_scripts/GEO/series/GSE2412.yaml +58 -0
- data/install_scripts/GEO/series/GSE2419.yaml +27 -0
- data/install_scripts/GEO/series/GSE2420.yaml +29 -0
- data/install_scripts/GEO/series/GSE2434.yaml +37 -0
- data/install_scripts/GEO/series/GSE2526.yaml +23 -0
- data/install_scripts/GEO/series/GSE2579.yaml +19 -0
- data/install_scripts/GEO/series/GSE2806.yaml +11 -0
- data/install_scripts/GEO/series/GSE2831.yaml +35 -0
- data/install_scripts/GEO/series/GSE2832.yaml +17 -0
- data/install_scripts/GEO/series/GSE29.yaml +16 -0
- data/install_scripts/GEO/series/GSE3006.yaml +35 -0
- data/install_scripts/GEO/series/GSE3043.yaml +18 -0
- data/install_scripts/GEO/series/GSE3122.yaml +12 -0
- data/install_scripts/GEO/series/GSE3130.yaml +12 -0
- data/install_scripts/GEO/series/GSE3151.yaml +118 -0
- data/install_scripts/GEO/series/GSE3160.yaml +31 -0
- data/install_scripts/GEO/series/GSE3190.yaml +14 -0
- data/install_scripts/GEO/series/GSE3205.yaml +36 -0
- data/install_scripts/GEO/series/GSE3206.yaml +23 -0
- data/install_scripts/GEO/series/GSE3315.yaml +13 -0
- data/install_scripts/GEO/series/GSE3335.yaml +15 -0
- data/install_scripts/GEO/series/GSE34.yaml +31 -0
- data/install_scripts/GEO/series/GSE3470.yaml +15 -0
- data/install_scripts/GEO/series/GSE35.yaml +80 -0
- data/install_scripts/GEO/series/GSE3503.yaml +19 -0
- data/install_scripts/GEO/series/GSE3683.yaml +83 -0
- data/install_scripts/GEO/series/GSE3684.yaml +19 -0
- data/install_scripts/GEO/series/GSE3685.yaml +31 -0
- data/install_scripts/GEO/series/GSE3686.yaml +63 -0
- data/install_scripts/GEO/series/GSE3687.yaml +83 -0
- data/install_scripts/GEO/series/GSE3802.yaml +19 -0
- data/install_scripts/GEO/series/GSE3803.yaml +19 -0
- data/install_scripts/GEO/series/GSE3804.yaml +19 -0
- data/install_scripts/GEO/series/GSE3805.yaml +19 -0
- data/install_scripts/GEO/series/GSE3813.yaml +9 -0
- data/install_scripts/GEO/series/GSE3814.yaml +71 -0
- data/install_scripts/GEO/series/GSE3815.yaml +75 -0
- data/install_scripts/GEO/series/GSE3817.yaml +13 -0
- data/install_scripts/GEO/series/GSE3818.yaml +15 -0
- data/install_scripts/GEO/series/GSE3819.yaml +13 -0
- data/install_scripts/GEO/series/GSE3820.yaml +61 -0
- data/install_scripts/GEO/series/GSE3821.yaml +55 -0
- data/install_scripts/GEO/series/GSE3844.yaml +11 -0
- data/install_scripts/GEO/series/GSE3853.yaml +31 -0
- data/install_scripts/GEO/series/GSE3935.yaml +12 -0
- data/install_scripts/GEO/series/GSE3969.yaml +14 -0
- data/install_scripts/GEO/series/GSE4049.yaml +80 -0
- data/install_scripts/GEO/series/GSE4144.yaml +9 -0
- data/install_scripts/GEO/series/GSE4261.yaml +59 -0
- data/install_scripts/GEO/series/GSE4295.yaml +63 -0
- data/install_scripts/GEO/series/GSE4398.yaml +50 -0
- data/install_scripts/GEO/series/GSE4719.yaml +76 -0
- data/install_scripts/GEO/series/GSE4720.yaml +78 -0
- data/install_scripts/GEO/series/GSE4721.yaml +14 -0
- data/install_scripts/GEO/series/GSE4807.yaml +67 -0
- data/install_scripts/GEO/series/GSE4826.yaml +39 -0
- data/install_scripts/GEO/series/GSE4934.yaml +23 -0
- data/install_scripts/GEO/series/GSE5027.yaml +31 -0
- data/install_scripts/GEO/series/GSE5070.yaml +25 -0
- data/install_scripts/GEO/series/GSE5238.yaml +31 -0
- data/install_scripts/GEO/series/GSE5267.yaml +55 -0
- data/install_scripts/GEO/series/GSE5281.yaml +492 -0
- data/install_scripts/GEO/series/GSE5290.yaml +24 -0
- data/install_scripts/GEO/series/GSE5376.yaml +107 -0
- data/install_scripts/GEO/series/GSE5575.yaml +13 -0
- data/install_scripts/GEO/series/GSE5835.yaml +25 -0
- data/install_scripts/GEO/series/GSE5836.yaml +37 -0
- data/install_scripts/GEO/series/GSE5837.yaml +37 -0
- data/install_scripts/GEO/series/GSE5938.yaml +187 -0
- data/install_scripts/GEO/series/GSE600.yaml +29 -0
- data/install_scripts/GEO/series/GSE6018.yaml +55 -0
- data/install_scripts/GEO/series/GSE6066.yaml +20 -0
- data/install_scripts/GEO/series/GSE6067.yaml +31 -0
- data/install_scripts/GEO/series/GSE6068.yaml +55 -0
- data/install_scripts/GEO/series/GSE6070.yaml +31 -0
- data/install_scripts/GEO/series/GSE6071.yaml +30 -0
- data/install_scripts/GEO/series/GSE6072.yaml +37 -0
- data/install_scripts/GEO/series/GSE6101.yaml +26 -0
- data/install_scripts/GEO/series/GSE6111.yaml +20 -0
- data/install_scripts/GEO/series/GSE6190.yaml +30 -0
- data/install_scripts/GEO/series/GSE6277.yaml +19 -0
- data/install_scripts/GEO/series/GSE6331.yaml +51 -0
- data/install_scripts/GEO/series/GSE6346.yaml +49 -0
- data/install_scripts/GEO/series/GSE6358.yaml +22 -0
- data/install_scripts/GEO/series/GSE6405.yaml +36 -0
- data/install_scripts/GEO/series/GSE6450.yaml +51 -0
- data/install_scripts/GEO/series/GSE6687.yaml +15 -0
- data/install_scripts/GEO/series/GSE6705.yaml +19 -0
- data/install_scripts/GEO/series/GSE6801.yaml +27 -0
- data/install_scripts/GEO/series/GSE6847.yaml +18 -0
- data/install_scripts/GEO/series/GSE6870.yaml +23 -0
- data/install_scripts/GEO/series/GSE7103.yaml +28 -0
- data/install_scripts/GEO/series/GSE7140.yaml +19 -0
- data/install_scripts/GEO/series/GSE7188.yaml +23 -0
- data/install_scripts/GEO/series/GSE7261.yaml +16 -0
- data/install_scripts/GEO/series/GSE7337.yaml +19 -0
- data/install_scripts/GEO/series/GSE7338.yaml +19 -0
- data/install_scripts/GEO/series/GSE7362.yaml +123 -0
- data/install_scripts/GEO/series/GSE7369.yaml +15 -0
- data/install_scripts/GEO/series/GSE7525.yaml +33 -0
- data/install_scripts/GEO/series/GSE7537.yaml +27 -0
- data/install_scripts/GEO/series/GSE7645.yaml +152 -0
- data/install_scripts/GEO/series/GSE7660.yaml +41 -0
- data/install_scripts/GEO/series/GSE7820.yaml +30 -0
- data/install_scripts/GEO/series/GSE79.yaml +32 -0
- data/install_scripts/GEO/series/GSE8035.yaml +19 -0
- data/install_scripts/GEO/series/GSE8088.yaml +13 -0
- data/install_scripts/GEO/series/GSE8089.yaml +19 -0
- data/install_scripts/GEO/series/GSE8111.yaml +15 -0
- data/install_scripts/GEO/series/GSE8237.yaml +35 -0
- data/install_scripts/GEO/series/GSE8326.yaml +37 -0
- data/install_scripts/GEO/series/GSE8399.yaml +13 -0
- data/install_scripts/GEO/series/GSE850.yaml +15 -0
- data/install_scripts/GEO/series/GSE8506.yaml +32 -0
- data/install_scripts/GEO/series/GSE8542.yaml +47 -0
- data/install_scripts/GEO/series/GSE8558.yaml +19 -0
- data/install_scripts/GEO/series/GSE8559.yaml +47 -0
- data/install_scripts/GEO/series/GSE8613.yaml +19 -0
- data/install_scripts/GEO/series/GSE8629.yaml +18 -0
- data/install_scripts/GEO/series/GSE8729.yaml +19 -0
- data/install_scripts/GEO/series/GSE8761.yaml +55 -0
- data/install_scripts/GEO/series/GSE8765.yaml +15 -0
- data/install_scripts/GEO/series/GSE8805.yaml +64 -0
- data/install_scripts/GEO/series/GSE8825.yaml +79 -0
- data/install_scripts/GEO/series/GSE8895.yaml +31 -0
- data/install_scripts/GEO/series/GSE8897.yaml +17 -0
- data/install_scripts/GEO/series/GSE8898.yaml +18 -0
- data/install_scripts/GEO/series/GSE8900.yaml +43 -0
- data/install_scripts/GEO/series/GSE8982.yaml +106 -0
- data/install_scripts/GEO/series/GSE920.yaml +20 -0
- data/install_scripts/GEO/series/GSE960.yaml +10 -0
- data/install_scripts/GEO/series/GSE961.yaml +14 -0
- data/install_scripts/GEO/series/GSE962.yaml +20 -0
- data/install_scripts/GEO/series/GSE963.yaml +14 -0
- data/install_scripts/GEO/series/GSE964.yaml +14 -0
- data/install_scripts/GEO/series/GSE965.yaml +14 -0
- data/install_scripts/GEO/series/GSE966.yaml +14 -0
- data/install_scripts/GEO/series/GSE993.yaml +9 -0
- data/lib/MARQ.rb +79 -0
- data/lib/MARQ/CustomDS.rb +99 -0
- data/lib/MARQ/GEO.rb +585 -0
- data/lib/MARQ/ID.rb +148 -0
- data/lib/MARQ/MADB.rb +243 -0
- data/lib/MARQ/annotations.rb +740 -0
- data/lib/MARQ/fdr.rb +177 -0
- data/lib/MARQ/main.rb +227 -0
- data/lib/MARQ/rankproduct.rb +146 -0
- data/lib/MARQ/score.rb +395 -0
- data/merb/Rakefile +35 -0
- data/merb/app/controllers/application.rb +2 -0
- data/merb/app/controllers/exceptions.rb +13 -0
- data/merb/app/controllers/help.rb +22 -0
- data/merb/app/controllers/main.rb +72 -0
- data/merb/app/controllers/normalize.rb +41 -0
- data/merb/app/controllers/results.rb +247 -0
- data/merb/app/controllers/series.rb +44 -0
- data/merb/app/helpers/global_helpers.rb +5 -0
- data/merb/app/helpers/main_helper.rb +5 -0
- data/merb/app/helpers/results_helper.rb +50 -0
- data/merb/app/stylesheets/marq.sass +561 -0
- data/merb/app/stylesheets/marq_mixins.sass +23 -0
- data/merb/app/stylesheets/rounded_corners.sass +35 -0
- data/merb/app/views/exceptions/not_acceptable.html.erb +63 -0
- data/merb/app/views/exceptions/not_found.html.erb +47 -0
- data/merb/app/views/help/_menu.html.haml +4 -0
- data/merb/app/views/help/index.html.haml +110 -0
- data/merb/app/views/help/meth.html.haml +301 -0
- data/merb/app/views/help/quick.html.haml +149 -0
- data/merb/app/views/layout/application.html.haml +27 -0
- data/merb/app/views/main/index.html.haml +96 -0
- data/merb/app/views/normalize/index.html.haml +51 -0
- data/merb/app/views/partials/_annotations.html.haml +37 -0
- data/merb/app/views/partials/_enrichment.html.haml +17 -0
- data/merb/app/views/partials/_experiment.html.haml +33 -0
- data/merb/app/views/partials/_ie.html.haml +19 -0
- data/merb/app/views/partials/_video.html.haml +5 -0
- data/merb/app/views/results/compare.html.haml +161 -0
- data/merb/app/views/results/error.html.haml +5 -0
- data/merb/app/views/results/explore_hits.html.haml +54 -0
- data/merb/app/views/results/images.html.haml +18 -0
- data/merb/app/views/results/main.html.haml +125 -0
- data/merb/app/views/results/wait.html.haml +10 -0
- data/merb/app/views/series/main.html.haml +99 -0
- data/merb/autotest/discover.rb +1 -0
- data/merb/autotest/merb.rb +149 -0
- data/merb/autotest/merb_rspec.rb +165 -0
- data/merb/config.ru +76 -0
- data/merb/config/environments/development.rb +15 -0
- data/merb/config/environments/production.rb +10 -0
- data/merb/config/environments/rake.rb +11 -0
- data/merb/config/environments/staging.rb +10 -0
- data/merb/config/environments/test.rb +12 -0
- data/merb/config/init.rb +66 -0
- data/merb/config/rack.rb +11 -0
- data/merb/config/router.rb +64 -0
- data/merb/doc/rdoc/generators/merb_generator.rb +1362 -0
- data/merb/doc/rdoc/generators/template/merb/api_grease.js +640 -0
- data/merb/doc/rdoc/generators/template/merb/index.html.erb +37 -0
- data/merb/doc/rdoc/generators/template/merb/merb.css +252 -0
- data/merb/doc/rdoc/generators/template/merb/merb.rb +351 -0
- data/merb/doc/rdoc/generators/template/merb/merb_doc_styles.css +492 -0
- data/merb/doc/rdoc/generators/template/merb/prototype.js +2515 -0
- data/merb/lib/helper.rb +452 -0
- data/merb/public/favicon.ico +0 -0
- data/merb/public/images/guide/annotations.png +0 -0
- data/merb/public/images/guide/compare.png +0 -0
- data/merb/public/images/guide/compare_page.png +0 -0
- data/merb/public/images/guide/download.png +0 -0
- data/merb/public/images/guide/genes.png +0 -0
- data/merb/public/images/guide/hits.png +0 -0
- data/merb/public/images/guide/name.png +0 -0
- data/merb/public/images/guide/organism.png +0 -0
- data/merb/public/images/guide/table.png +0 -0
- data/merb/public/images/loadingAnimation.gif +0 -0
- data/merb/public/images/logo_ARTECS.jpg +0 -0
- data/merb/public/images/logo_BCU.jpg +0 -0
- data/merb/public/images/logo_MICRO.png +0 -0
- data/merb/public/images/macFFBgHack.png +0 -0
- data/merb/public/images/merb.jpg +0 -0
- data/merb/public/images/meth/G.gif +0 -0
- data/merb/public/images/meth/MARQ.gif +0 -0
- data/merb/public/images/meth/PS_bottom.gif +0 -0
- data/merb/public/images/meth/PS_bottom_formula.gif +0 -0
- data/merb/public/images/meth/PS_top.gif +0 -0
- data/merb/public/images/meth/PS_top_formula.gif +0 -0
- data/merb/public/images/meth/Q.gif +0 -0
- data/merb/public/images/meth/Rplot.png +0 -0
- data/merb/public/images/meth/S_bottom.gif +0 -0
- data/merb/public/images/meth/S_diff.gif +0 -0
- data/merb/public/images/meth/S_down.gif +0 -0
- data/merb/public/images/meth/S_top.gif +0 -0
- data/merb/public/images/meth/S_up.gif +0 -0
- data/merb/public/images/meth/alpha.gif +0 -0
- data/merb/public/images/meth/beta_0.gif +0 -0
- data/merb/public/images/meth/beta_1.gif +0 -0
- data/merb/public/images/meth/d.gif +0 -0
- data/merb/public/images/meth/d_formula.gif +0 -0
- data/merb/public/images/meth/d_noabs.gif +0 -0
- data/merb/public/images/meth/d_range.gif +0 -0
- data/merb/public/images/meth/g.gif +0 -0
- data/merb/public/images/meth/i.gif +0 -0
- data/merb/public/images/meth/m.gif +0 -0
- data/merb/public/images/meth/p.gif +0 -0
- data/merb/public/images/meth/penalty.gif +0 -0
- data/merb/public/images/meth/q.gif +0 -0
- data/merb/public/images/meth/w.gif +0 -0
- data/merb/public/images/meth/w_formula.gif +0 -0
- data/merb/public/images/meth/w_weight.gif +0 -0
- data/merb/public/images/meth/weight.gif +0 -0
- data/merb/public/images/meth/weight_function.gif +0 -0
- data/merb/public/images/top.png +0 -0
- data/merb/public/images/top2.png +0 -0
- data/merb/public/images/wait.gif +0 -0
- data/merb/public/javascripts/jquery-ui.core.js +519 -0
- data/merb/public/javascripts/jquery-ui.hitarea.js +168 -0
- data/merb/public/javascripts/jquery.js +19 -0
- data/merb/public/javascripts/jquery.scrollTo.js +11 -0
- data/merb/public/javascripts/jquery.tablescroll.js +124 -0
- data/merb/public/javascripts/jquery.tabs.js +642 -0
- data/merb/public/javascripts/marq.js +51 -0
- data/merb/public/javascripts/marq_pages.js +504 -0
- data/merb/public/javascripts/thickbox.js +320 -0
- data/merb/public/javascripts/wz_jsgraphics.js +1108 -0
- data/merb/public/merb.fcgi +22 -0
- data/merb/public/plugins/dialog/javascripts/jquery-ui.dialog.js +44 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-icons_222222_256x240.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-icons_2e83ff_256x240.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-icons_454545_256x240.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-icons_888888_256x240.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/merb/public/plugins/dialog/stylesheets/jquery-ui.dialog.css +404 -0
- data/merb/public/plugins/tablesorter/images/asc.gif +0 -0
- data/merb/public/plugins/tablesorter/images/bg.gif +0 -0
- data/merb/public/plugins/tablesorter/images/blue.zip +0 -0
- data/merb/public/plugins/tablesorter/images/desc.gif +0 -0
- data/merb/public/plugins/tablesorter/javascripts/jquery.tablesorter.js +2 -0
- data/merb/public/plugins/tablesorter/stylesheets/jquery.tablesorter.css +39 -0
- data/merb/public/robots.txt +5 -0
- data/merb/public/stylesheets/thickbox.css +163 -0
- data/merb/spec/requests/main_spec.rb +7 -0
- data/merb/spec/requests/results_spec.rb +7 -0
- data/merb/spec/spec.opts +0 -0
- data/merb/spec/spec_helper.rb +20 -0
- data/merb/tasks/merb.thor/app_script.rb +31 -0
- data/merb/tasks/merb.thor/common.rb +68 -0
- data/merb/tasks/merb.thor/gem_ext.rb +125 -0
- data/merb/tasks/merb.thor/main.thor +150 -0
- data/merb/tasks/merb.thor/ops.rb +93 -0
- data/merb/tasks/merb.thor/utils.rb +40 -0
- data/tasks/install.rake +21 -0
- data/webservice/MARQWS.rb +167 -0
- metadata +798 -0
@@ -0,0 +1,640 @@
|
|
1
|
+
|
2
|
+
function setupPage(){
|
3
|
+
hookUpActiveSearch();
|
4
|
+
hookUpTabs();
|
5
|
+
suppressPostbacks();
|
6
|
+
var url_params = getUrlParams();
|
7
|
+
if (url_params != null){
|
8
|
+
loadUrlParams(url_params);
|
9
|
+
}else{
|
10
|
+
loadDefaults();
|
11
|
+
}
|
12
|
+
resizeDivs();
|
13
|
+
window.onresize = function(){ resizeDivs(); };
|
14
|
+
}
|
15
|
+
|
16
|
+
function getUrlParams(){
|
17
|
+
var window_location = window.location.href
|
18
|
+
var param_pos = window_location.search(/\?/)
|
19
|
+
if (param_pos > 0){
|
20
|
+
return(window_location.slice(param_pos, window_location.length));
|
21
|
+
}else{
|
22
|
+
return(null);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
function loadUrlParams(url_param){
|
27
|
+
//get the tabs
|
28
|
+
var t = getTabs();
|
29
|
+
// now find our variables
|
30
|
+
var s_params = /(\?)(a=.+?)(&)(name=.*)/;
|
31
|
+
var results = url_param.match(s_params);
|
32
|
+
url_anchor = results[2].replace(/a=/,'');
|
33
|
+
|
34
|
+
if (url_anchor.match(/M.+/)){//load the methods tab and scroller content
|
35
|
+
setActiveTabAndLoadContent(t[0]);
|
36
|
+
}else{
|
37
|
+
if(url_anchor.match(/C.+/)){ //load the classes tab and scroller content
|
38
|
+
setActiveTabAndLoadContent(t[1]);
|
39
|
+
}else{
|
40
|
+
if (url_anchor.match(/F.+/)){//load the files tab
|
41
|
+
setActiveTabAndLoadContent(t[2]);
|
42
|
+
}else{
|
43
|
+
// default to loading the methods
|
44
|
+
setActiveTabAndLoadContent(t[0]);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
paramLoadOfContentAnchor(url_anchor + "_link");
|
49
|
+
}
|
50
|
+
|
51
|
+
function updateUrlParams(anchor_id, name){
|
52
|
+
//Also setting the page title
|
53
|
+
//window.document.title = name + " method - MerbBrain.com ";
|
54
|
+
|
55
|
+
//updating the window location
|
56
|
+
var current_href = window.location.href;
|
57
|
+
//var m_name = name.replace("?","?");
|
58
|
+
var rep_str = ".html?a=" + anchor_id + "&name=" + name;
|
59
|
+
var new_href = current_href.replace(/\.html.*/, rep_str);
|
60
|
+
if (new_href != current_href){
|
61
|
+
window.location.href = new_href;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
//does as it says...
|
66
|
+
function hookUpActiveSearch(){
|
67
|
+
|
68
|
+
var s_field = $('searchForm').getInputs('text')[0];
|
69
|
+
//var s_field = document.forms[0].searchText;
|
70
|
+
Event.observe(s_field, 'keydown', function(event) {
|
71
|
+
var el = Event.element(event);
|
72
|
+
var key = event.which || event.keyCode;
|
73
|
+
|
74
|
+
switch (key) {
|
75
|
+
case Event.KEY_RETURN:
|
76
|
+
forceLoadOfContentAnchor(getCurrentAnchor());
|
77
|
+
Event.stop(event);
|
78
|
+
break;
|
79
|
+
|
80
|
+
case Event.KEY_UP:
|
81
|
+
scrollListToElementOffset(getCurrentAnchor(),-1);
|
82
|
+
break;
|
83
|
+
|
84
|
+
case Event.KEY_DOWN:
|
85
|
+
scrollListToElementOffset(getCurrentAnchor(),1);
|
86
|
+
break;
|
87
|
+
|
88
|
+
default:
|
89
|
+
break;
|
90
|
+
}
|
91
|
+
|
92
|
+
});
|
93
|
+
|
94
|
+
Event.observe(s_field, 'keyup', function(event) {
|
95
|
+
var el = Event.element(event);
|
96
|
+
var key = event.which || event.keyCode;
|
97
|
+
switch (key) {
|
98
|
+
case Event.KEY_RETURN:
|
99
|
+
Event.stop(event);
|
100
|
+
break;
|
101
|
+
|
102
|
+
case Event.KEY_UP:
|
103
|
+
break;
|
104
|
+
|
105
|
+
case Event.KEY_DOWN:
|
106
|
+
break;
|
107
|
+
|
108
|
+
default:
|
109
|
+
scrollToName(el.value);
|
110
|
+
setSavedSearch(getCurrentTab(), el.value);
|
111
|
+
break;
|
112
|
+
}
|
113
|
+
|
114
|
+
});
|
115
|
+
|
116
|
+
Event.observe(s_field, 'keypress', function(event){
|
117
|
+
var el = Event.element(event);
|
118
|
+
var key = event.which || event.keyCode;
|
119
|
+
switch (key) {
|
120
|
+
case Event.KEY_RETURN:
|
121
|
+
Event.stop(event);
|
122
|
+
break;
|
123
|
+
|
124
|
+
default:
|
125
|
+
break;
|
126
|
+
}
|
127
|
+
|
128
|
+
});
|
129
|
+
|
130
|
+
//Event.observe(document, 'keypress', function(event){
|
131
|
+
// var key = event.which || event.keyCode;
|
132
|
+
// if (key == Event.KEY_TAB){
|
133
|
+
// cycleNextTab();
|
134
|
+
// Event.stop(event);
|
135
|
+
// }
|
136
|
+
//});
|
137
|
+
}
|
138
|
+
|
139
|
+
function hookUpTabs(){
|
140
|
+
|
141
|
+
var tabs = getTabs();
|
142
|
+
for(x=0; x < tabs.length; x++)
|
143
|
+
{
|
144
|
+
Event.observe(tabs[x], 'click', function(event){
|
145
|
+
var el = Event.element(event);
|
146
|
+
setActiveTabAndLoadContent(el);
|
147
|
+
});
|
148
|
+
//tabs[x].onclick = function (){ return setActiveTabAndLoadContent(this);}; //the prototype guys say this is bad..
|
149
|
+
}
|
150
|
+
|
151
|
+
}
|
152
|
+
|
153
|
+
function suppressPostbacks(){
|
154
|
+
Event.observe('searchForm', 'submit', function(event){
|
155
|
+
Event.stop(event);
|
156
|
+
});
|
157
|
+
}
|
158
|
+
|
159
|
+
function loadDefaults(){
|
160
|
+
var t = getTabs();
|
161
|
+
setActiveTabAndLoadContent(t[0]); //default loading of the first tab
|
162
|
+
}
|
163
|
+
|
164
|
+
function resizeDivs(){
|
165
|
+
var inner_height = 700;
|
166
|
+
if (window.innerHeight){
|
167
|
+
inner_height = window.innerHeight; //all browsers except IE use this to determine the space available inside a window. Thank you Microsoft!!
|
168
|
+
}else{
|
169
|
+
if(document.documentElement.clientHeight > 0){ //IE uses this in 'strict' mode
|
170
|
+
inner_height = document.documentElement.clientHeight;
|
171
|
+
}else{
|
172
|
+
inner_height = document.body.clientHeight; //IE uses this in 'quirks' mode
|
173
|
+
}
|
174
|
+
}
|
175
|
+
$('rdocContent').style.height = (inner_height - 92) + "px";//Thankfully all browsers can agree on how to set the height of a div
|
176
|
+
$('listScroller').style.height = (inner_height - 88) + "px";
|
177
|
+
}
|
178
|
+
|
179
|
+
//The main function for handling clicks on the tabs
|
180
|
+
function setActiveTabAndLoadContent(current_tab){
|
181
|
+
changeLoadingStatus("on");
|
182
|
+
var tab_string = String(current_tab.innerHTML).strip(); //thank you ProtoType!
|
183
|
+
switch (tab_string){
|
184
|
+
case "classes":
|
185
|
+
setCurrentTab("classes");
|
186
|
+
loadScrollerContent('fr_class_index.html');
|
187
|
+
setSearchFieldValue(getSavedSearch("classes"));
|
188
|
+
scrollToName(getSavedSearch("classes"));
|
189
|
+
setSearchFocus();
|
190
|
+
break;
|
191
|
+
|
192
|
+
case "files":
|
193
|
+
setCurrentTab("files");
|
194
|
+
loadScrollerContent('fr_file_index.html');
|
195
|
+
setSearchFieldValue(getSavedSearch("files"));
|
196
|
+
scrollToName(getSavedSearch("files"));
|
197
|
+
setSearchFocus();
|
198
|
+
break;
|
199
|
+
|
200
|
+
case "methods":
|
201
|
+
setCurrentTab("methods");
|
202
|
+
loadScrollerContent('fr_method_index.html');
|
203
|
+
setSearchFieldValue(getSavedSearch("methods"));
|
204
|
+
scrollToName(getSavedSearch("methods"));
|
205
|
+
setSearchFocus();
|
206
|
+
break;
|
207
|
+
|
208
|
+
default:
|
209
|
+
break;
|
210
|
+
}
|
211
|
+
changeLoadingStatus("off");
|
212
|
+
}
|
213
|
+
|
214
|
+
function cycleNextTab(){
|
215
|
+
var currentT = getCurrentTab();
|
216
|
+
var tabs = getTabs();
|
217
|
+
if (currentT == "methods"){
|
218
|
+
setActiveTabAndLoadContent(tabs[1]);
|
219
|
+
setSearchFocus();
|
220
|
+
}else{
|
221
|
+
if (currentT == "classes"){
|
222
|
+
setActiveTabAndLoadContent(tabs[2]);
|
223
|
+
setSearchFocus();
|
224
|
+
}else{
|
225
|
+
if (currentT == "files"){
|
226
|
+
setActiveTabAndLoadContent(tabs[0]);
|
227
|
+
setSearchFocus();
|
228
|
+
}
|
229
|
+
}
|
230
|
+
}
|
231
|
+
}
|
232
|
+
|
233
|
+
function getTabs(){
|
234
|
+
return($('groupType').getElementsByTagName('li'));
|
235
|
+
}
|
236
|
+
|
237
|
+
var Active_Tab = "";
|
238
|
+
function getCurrentTab(){
|
239
|
+
return Active_Tab;
|
240
|
+
}
|
241
|
+
|
242
|
+
function setCurrentTab(tab_name){
|
243
|
+
var tabs = getTabs();
|
244
|
+
for(x=0; x < tabs.length; x++)
|
245
|
+
{
|
246
|
+
if(tabs[x].innerHTML.strip() == tab_name) //W00t!!! String.prototype.strip!
|
247
|
+
{
|
248
|
+
tabs[x].className = "activeLi";
|
249
|
+
Active_Tab = tab_name;
|
250
|
+
}
|
251
|
+
else
|
252
|
+
{
|
253
|
+
tabs[x].className = "";
|
254
|
+
}
|
255
|
+
}
|
256
|
+
}
|
257
|
+
|
258
|
+
//These globals should not be used globally (hence the getters and setters)
|
259
|
+
var File_Search = "";
|
260
|
+
var Method_Search = "";
|
261
|
+
var Class_Search = "";
|
262
|
+
function setSavedSearch(tab_name, s_val){
|
263
|
+
switch(tab_name){
|
264
|
+
case "methods":
|
265
|
+
Method_Search = s_val;
|
266
|
+
break;
|
267
|
+
case "files":
|
268
|
+
File_Search = s_val;
|
269
|
+
break;
|
270
|
+
case "classes":
|
271
|
+
Class_Search = s_val;
|
272
|
+
break;
|
273
|
+
}
|
274
|
+
}
|
275
|
+
|
276
|
+
function getSavedSearch(tab_name){
|
277
|
+
switch(tab_name){
|
278
|
+
case "methods":
|
279
|
+
return (Method_Search);
|
280
|
+
break;
|
281
|
+
case "files":
|
282
|
+
return (File_Search);
|
283
|
+
break;
|
284
|
+
case "classes":
|
285
|
+
return (Class_Search);
|
286
|
+
break;
|
287
|
+
}
|
288
|
+
}
|
289
|
+
|
290
|
+
//These globals handle the history stack
|
291
|
+
|
292
|
+
|
293
|
+
function setListScrollerContent(s){
|
294
|
+
|
295
|
+
$('listScroller').innerHTML = s;
|
296
|
+
}
|
297
|
+
|
298
|
+
function setMainContent(s){
|
299
|
+
|
300
|
+
$('rdocContent').innerHTML = s;
|
301
|
+
}
|
302
|
+
|
303
|
+
function setSearchFieldValue(s){
|
304
|
+
|
305
|
+
document.forms[0].searchText.value = s;
|
306
|
+
}
|
307
|
+
|
308
|
+
function getSearchFieldValue(){
|
309
|
+
|
310
|
+
return Form.Element.getValue('searchText');
|
311
|
+
}
|
312
|
+
|
313
|
+
function setSearchFocus(){
|
314
|
+
|
315
|
+
document.forms[0].searchText.focus();
|
316
|
+
}
|
317
|
+
|
318
|
+
var Anchor_ID_Of_Current = null; // holds the last highlighted anchor tag in the scroll lsit
|
319
|
+
function getCurrentAnchor(){
|
320
|
+
return(Anchor_ID_Of_Current);
|
321
|
+
}
|
322
|
+
|
323
|
+
function setCurrentAnchor(a_id){
|
324
|
+
Anchor_ID_Of_Current = a_id;
|
325
|
+
}
|
326
|
+
|
327
|
+
//var Index_Of_Current = 0; //holds the last highlighted index
|
328
|
+
//function getCurrentIndex(){
|
329
|
+
// return (Index_Of_Current);
|
330
|
+
//}
|
331
|
+
|
332
|
+
//function setCurrentIndex(new_i){
|
333
|
+
// Index_Of_Current = new_i;
|
334
|
+
//}
|
335
|
+
|
336
|
+
function loadScrollerContent(url){
|
337
|
+
|
338
|
+
var scrollerHtml = new Ajax.Request(url, {
|
339
|
+
asynchronous: false,
|
340
|
+
method: 'get',
|
341
|
+
onComplete: function(method_data) {
|
342
|
+
setListScrollerContent(method_data.responseText);
|
343
|
+
}
|
344
|
+
});
|
345
|
+
|
346
|
+
}
|
347
|
+
|
348
|
+
//called primarily from the links inside the scroller list
|
349
|
+
//loads the main page div then jumps to the anchor/element with id
|
350
|
+
function loadContent(url, anchor_id){
|
351
|
+
|
352
|
+
var mainHtml = new Ajax.Request(url, {
|
353
|
+
method: 'get',
|
354
|
+
onLoading: changeLoadingStatus("on"),
|
355
|
+
onSuccess: function(method_data) {
|
356
|
+
setMainContent(method_data.responseText);},
|
357
|
+
onComplete: function(request) {
|
358
|
+
changeLoadingStatus("off");
|
359
|
+
new jumpToAnchor(anchor_id);
|
360
|
+
}
|
361
|
+
});
|
362
|
+
}
|
363
|
+
|
364
|
+
//An alternative function that also will stuff the index history for methods, files, classes
|
365
|
+
function loadIndexContent(url, anchor_id, name, scope)
|
366
|
+
{
|
367
|
+
if (From_URL_Param == true){
|
368
|
+
var mainHtml = new Ajax.Request(url, {
|
369
|
+
method: 'get',
|
370
|
+
onLoading: changeLoadingStatus("on"),
|
371
|
+
onSuccess: function(method_data) {
|
372
|
+
setMainContent(method_data.responseText);},
|
373
|
+
onComplete: function(request) {
|
374
|
+
changeLoadingStatus("off");
|
375
|
+
updateBrowserBar(name, anchor_id, scope);
|
376
|
+
new jumpToAnchor(anchor_id);}
|
377
|
+
});
|
378
|
+
From_URL_Param = false;
|
379
|
+
}else{
|
380
|
+
updateUrlParams(anchor_id, name);
|
381
|
+
}
|
382
|
+
|
383
|
+
}
|
384
|
+
|
385
|
+
function updateBrowserBar(name, anchor_id, scope){
|
386
|
+
if (getCurrentTab() == "methods"){
|
387
|
+
$('browserBarInfo').update("<small>class/module:</small> <a href=\"#\" onclick=\"jumpToTop();\">" + scope + "</a> <small>method:</small> <strong><a href=\"#\" onclick=\"jumpToAnchor('"+ anchor_id +"')\">" + name + "</a></strong> ");
|
388
|
+
}else{ if(getCurrentTab() == "classes"){
|
389
|
+
$('browserBarInfo').update("<small>class/module:</small> <a href=\"#\" onclick=\"jumpToTop();\">" + scope + "::" + name + "</strong> ");
|
390
|
+
}else{
|
391
|
+
$('browserBarInfo').update("<small>file:</small> <a href=\"#\" onclick=\"jumpToTop();\">" + scope + "/" + name + "</strong> ");
|
392
|
+
}
|
393
|
+
}
|
394
|
+
}
|
395
|
+
|
396
|
+
|
397
|
+
// Force loads the contents of the index of the current scroller list. It does this by
|
398
|
+
// pulling the onclick method out and executing it manually.
|
399
|
+
function forceLoadOfContent(index_to_load){
|
400
|
+
var scroller = $('listScroller');
|
401
|
+
var a_array = scroller.getElementsByTagName('a');
|
402
|
+
if ((index_to_load >= 0) && (index_to_load < a_array.length)){
|
403
|
+
var load_element = a_array[index_to_load];
|
404
|
+
var el_text = load_element.innerHTML.strip();
|
405
|
+
setSearchFieldValue(el_text);
|
406
|
+
setSavedSearch(getCurrentTab(), el_text);
|
407
|
+
eval("new " + load_element.onclick);
|
408
|
+
}
|
409
|
+
}
|
410
|
+
|
411
|
+
function forceLoadOfContentAnchor(anchor_id){
|
412
|
+
|
413
|
+
var load_element = $(anchor_id);
|
414
|
+
if (load_element != null){
|
415
|
+
var el_text = load_element.innerHTML.strip();
|
416
|
+
setSearchFieldValue(el_text);
|
417
|
+
scrollToAnchor(anchor_id);
|
418
|
+
setSavedSearch(getCurrentTab(), el_text);
|
419
|
+
eval("new " + load_element.onclick);
|
420
|
+
}
|
421
|
+
}
|
422
|
+
|
423
|
+
var From_URL_Param = false;
|
424
|
+
function paramLoadOfContentAnchor(anchor_id){
|
425
|
+
From_URL_Param = true;
|
426
|
+
forceLoadOfContentAnchor(anchor_id);
|
427
|
+
}
|
428
|
+
|
429
|
+
//this handles the up/down keystrokes to move the selection of items in the list
|
430
|
+
function scrollListToElementOffset(anchor_id, offset){
|
431
|
+
var scroller = $('listScroller');
|
432
|
+
var a_array = scroller.getElementsByTagName('a');
|
433
|
+
var current_index = findIndexOfAnchor(a_array, anchor_id);
|
434
|
+
if ((current_index >= 0) && (current_index < a_array.length)){
|
435
|
+
scrollListToAnchor(a_array[current_index + offset].id);
|
436
|
+
setListActiveAnchor(a_array[current_index + offset].id);
|
437
|
+
}
|
438
|
+
}
|
439
|
+
|
440
|
+
function findIndexOfAnchor(a_array, anchor_id){
|
441
|
+
var found=false;
|
442
|
+
var counter = 0;
|
443
|
+
while(!found && counter < a_array.length){
|
444
|
+
if (a_array[counter].id == anchor_id){
|
445
|
+
found = true;
|
446
|
+
}else{
|
447
|
+
counter +=1;
|
448
|
+
}
|
449
|
+
}
|
450
|
+
return(counter);
|
451
|
+
}
|
452
|
+
|
453
|
+
function scrollToName(searcher_name){
|
454
|
+
|
455
|
+
var scroller = $('listScroller');
|
456
|
+
var a_array = scroller.getElementsByTagName('a');
|
457
|
+
|
458
|
+
if (!searcher_name.match(new RegExp(/\s+/))){ //if searcher name is blank
|
459
|
+
|
460
|
+
var searcher_pattern = new RegExp("^"+searcher_name, "i"); //the "i" is for case INsensitive
|
461
|
+
var found_index = -1;
|
462
|
+
|
463
|
+
var found = false;
|
464
|
+
var x = 0;
|
465
|
+
while(!found && x < a_array.length){
|
466
|
+
if(a_array[x].innerHTML.match(searcher_pattern)){
|
467
|
+
found = true;
|
468
|
+
found_index = x;
|
469
|
+
}
|
470
|
+
else{
|
471
|
+
x++;
|
472
|
+
}
|
473
|
+
}
|
474
|
+
|
475
|
+
// // an attempt at binary searching... have not given up on this yet...
|
476
|
+
//found_index = binSearcher(searcher_pattern, a_array, 0, a_array.length);
|
477
|
+
|
478
|
+
if ((found_index >= 0) && (found_index < a_array.length)){
|
479
|
+
|
480
|
+
scrollListToAnchor(a_array[found_index].id);//scroll to the item
|
481
|
+
setListActiveAnchor(a_array[found_index].id);//highlight the item
|
482
|
+
}
|
483
|
+
}else{ //since searcher name is blank
|
484
|
+
//scrollListToIndex(a_array, 0);//scroll to the item
|
485
|
+
//setListActiveItem(a_array, 0);//highlight the item
|
486
|
+
}
|
487
|
+
}
|
488
|
+
|
489
|
+
function scrollToAnchor(anchor_id){
|
490
|
+
var scroller = $('listScroller');
|
491
|
+
if ($(anchor_id) != null){
|
492
|
+
scrollListToAnchor(anchor_id);
|
493
|
+
setListActiveAnchor(anchor_id);
|
494
|
+
}
|
495
|
+
}
|
496
|
+
|
497
|
+
function getY(element){
|
498
|
+
|
499
|
+
var y = 0;
|
500
|
+
for( var e = element; e; e = e.offsetParent)//iterate the offset Parents
|
501
|
+
{
|
502
|
+
y += e.offsetTop; //add up the offsetTop values
|
503
|
+
}
|
504
|
+
//for( e = element.parentNode; e && e != document.body; e = e.parentNode)
|
505
|
+
// if (e.scrollTop) y -= e.scrollTop; //subtract scrollbar values
|
506
|
+
return y;
|
507
|
+
}
|
508
|
+
|
509
|
+
//function setListActiveItem(item_array, active_index){
|
510
|
+
//
|
511
|
+
// item_array[getCurrentIndex()].className = "";
|
512
|
+
// setCurrentIndex(active_index);
|
513
|
+
// item_array[getCurrentIndex()].className = "activeA"; //setting the active class name
|
514
|
+
//}
|
515
|
+
|
516
|
+
function setListActiveAnchor(active_anchor){
|
517
|
+
if ((getCurrentAnchor() != null) && ($(getCurrentAnchor()) != null)){
|
518
|
+
$(getCurrentAnchor()).className = "";
|
519
|
+
}
|
520
|
+
setCurrentAnchor(active_anchor);
|
521
|
+
$(getCurrentAnchor()).className = "activeA";
|
522
|
+
|
523
|
+
}
|
524
|
+
|
525
|
+
//handles the scrolling of the list and setting of the current index
|
526
|
+
//function scrollListToIndex(a_array, scroll_index){
|
527
|
+
// if (scroll_index > 0){
|
528
|
+
// var scroller = $('listScroller');
|
529
|
+
// scroller.scrollTop = getY(a_array[scroll_index]) - 120; //the -120 is what keeps it from going to the top...
|
530
|
+
// }
|
531
|
+
//}
|
532
|
+
|
533
|
+
function scrollListToAnchor(scroll2_anchor){
|
534
|
+
var scroller = $('listScroller');
|
535
|
+
scroller.scrollTop = getY($(scroll2_anchor)) - 120;
|
536
|
+
}
|
537
|
+
|
538
|
+
function jumpToAnchor(anchor_id){
|
539
|
+
|
540
|
+
var contentScroller = $('rdocContent');
|
541
|
+
var a_div = $(anchor_id);
|
542
|
+
contentScroller.scrollTop = getY(a_div) - 80; //80 is the offset to adjust scroll point
|
543
|
+
var a_title = $(anchor_id + "_title");
|
544
|
+
a_title.style.backgroundColor = "#222";
|
545
|
+
a_title.style.color = "#FFF";
|
546
|
+
a_title.style.padding = "3px";
|
547
|
+
// a_title.style.borderBottom = "2px solid #ccc";
|
548
|
+
|
549
|
+
//other attempts
|
550
|
+
//a_div.className = "activeMethod"; //setting the active class name
|
551
|
+
//a_div.style.backgroundColor = "#ffc";
|
552
|
+
//var titles = a_div.getElementsByClassName("title");
|
553
|
+
//titles[0].className = "activeTitle";
|
554
|
+
|
555
|
+
}
|
556
|
+
|
557
|
+
function jumpToTop(){
|
558
|
+
$('rdocContent').scrollTop = 0;
|
559
|
+
}
|
560
|
+
|
561
|
+
function changeLoadingStatus(status){
|
562
|
+
if (status == "on"){
|
563
|
+
$('loadingStatus').show();
|
564
|
+
}
|
565
|
+
else{
|
566
|
+
$('loadingStatus').hide();
|
567
|
+
}
|
568
|
+
}
|
569
|
+
|
570
|
+
//************* Misc functions (mostly from the old rdocs) ***********************
|
571
|
+
//snagged code from the old templating system
|
572
|
+
function toggleSource( id ){
|
573
|
+
|
574
|
+
var elem
|
575
|
+
var link
|
576
|
+
|
577
|
+
if( document.getElementById )
|
578
|
+
{
|
579
|
+
elem = document.getElementById( id )
|
580
|
+
link = document.getElementById( "l_" + id )
|
581
|
+
}
|
582
|
+
else if ( document.all )
|
583
|
+
{
|
584
|
+
elem = eval( "document.all." + id )
|
585
|
+
link = eval( "document.all.l_" + id )
|
586
|
+
}
|
587
|
+
else
|
588
|
+
return false;
|
589
|
+
|
590
|
+
if( elem.style.display == "block" )
|
591
|
+
{
|
592
|
+
elem.style.display = "none"
|
593
|
+
link.innerHTML = "show source"
|
594
|
+
}
|
595
|
+
else
|
596
|
+
{
|
597
|
+
elem.style.display = "block"
|
598
|
+
link.innerHTML = "hide source"
|
599
|
+
}
|
600
|
+
}
|
601
|
+
|
602
|
+
function openCode( url ){
|
603
|
+
window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
|
604
|
+
}
|
605
|
+
|
606
|
+
//this function handles the ajax calling and afterits loaded the jumping to the anchor...
|
607
|
+
function jsHref(url){
|
608
|
+
//alert(url);
|
609
|
+
var mainHtml = new Ajax.Request(url, {
|
610
|
+
method: 'get',
|
611
|
+
onSuccess: function(method_data) {
|
612
|
+
setMainContent(method_data.responseText);}
|
613
|
+
});
|
614
|
+
}
|
615
|
+
|
616
|
+
//function comparePatterns(string, regexp){
|
617
|
+
// var direction = 0;
|
618
|
+
//
|
619
|
+
//
|
620
|
+
// return (direction)
|
621
|
+
//}
|
622
|
+
|
623
|
+
////returns the index of the element
|
624
|
+
//function binSearcher(regexp_pattern, list, start_index, stop_index){
|
625
|
+
// //divide the list in half
|
626
|
+
// var split_point = 0;
|
627
|
+
// split_point = parseInt((stop_index - start_index)/2);
|
628
|
+
// direction = comparePatterns(list[split_point].innerHTML, regexp_pattern);
|
629
|
+
// if(direction < 0)
|
630
|
+
// return (binSearcher(regexp_pattern, list, start_index, split_point));
|
631
|
+
// else
|
632
|
+
// if(direction > 0)
|
633
|
+
// return (binSearcher(regexp_pattern, list, split_point, stop_index));
|
634
|
+
// else
|
635
|
+
// return(split_point);
|
636
|
+
//
|
637
|
+
//}
|
638
|
+
|
639
|
+
|
640
|
+
|