Changeset 3943
- Timestamp:
- Nov 9, 2007, 3:00:47 PM (16 years ago)
- Location:
- trunk/doc/src
- Files:
-
- 3 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/src/docbook/admindoc/plugin_installation.xml
r3911 r3943 674 674 <mediaobject> 675 675 <imageobject><imagedata 676 scalefit="1" width="100%" 676 677 fileref="figures/plugin_jobagents.png" format="PNG" 677 678 /></imageobject> … … 1340 1341 <mediaobject> 1341 1342 <imageobject><imagedata 1343 scalefit="1" width="100%" 1342 1344 fileref="figures/test_with_file_mappings.png" format="PNG" 1343 1345 /></imageobject> -
trunk/doc/src/docbook/developerdoc/api_overview.xml
r3942 r3943 179 179 <imageobject> 180 180 <imagedata 181 align="center" 182 scalefit="1" width="100%" 181 183 fileref="figures/uml/datalayer.overview.png" format="PNG" /> 182 184 </imageobject> … … 207 209 <imageobject> 208 210 <imagedata 211 align="center" 209 212 fileref="figures/uml/datalayer.basic.png" format="PNG" /> 210 213 </imageobject> … … 427 430 <imageobject> 428 431 <imagedata 432 align="center" 433 scalefit="1" width="100%" 429 434 fileref="figures/uml/datalayer.authentication.png" format="PNG" /> 430 435 </imageobject> … … 646 651 <imageobject> 647 652 <imagedata 653 align="center" 648 654 fileref="figures/uml/datalayer.wares.png" format="PNG" /> 649 655 </imageobject> … … 683 689 <imageobject> 684 690 <imagedata 691 align="center" 685 692 fileref="figures/uml/datalayer.reporters.png" format="PNG" /> 686 693 </imageobject> … … 761 768 <imageobject> 762 769 <imagedata 770 align="center" 763 771 fileref="figures/uml/datalayer.quota.png" format="PNG" /> 764 772 </imageobject> … … 820 828 <imageobject> 821 829 <imagedata 830 align="center" 831 scalefit="1" width="100%" 822 832 fileref="figures/uml/datalayer.clients.png" format="PNG" /> 823 833 </imageobject> … … 991 1001 <imageobject> 992 1002 <imagedata 1003 align="center" 993 1004 fileref="figures/uml/datalayer.files.png" format="PNG" /> 994 1005 </imageobject> … … 1137 1148 <imageobject> 1138 1149 <imagedata 1150 align="center" 1139 1151 fileref="figures/uml/datalayer.platforms.png" format="PNG" /> 1140 1152 </imageobject> … … 1226 1238 <imageobject> 1227 1239 <imagedata 1240 align="center" 1228 1241 fileref="figures/uml/datalayer.parameters.png" format="PNG" /> 1229 1242 </imageobject> … … 1305 1318 <imageobject> 1306 1319 <imagedata 1320 align="center" 1307 1321 fileref="figures/uml/datalayer.annotations.png" format="PNG" /> 1308 1322 </imageobject> … … 1445 1459 <imageobject> 1446 1460 <imagedata 1461 align="center" 1447 1462 fileref="figures/uml/datalayer.protocols.png" format="PNG" /> 1448 1463 </imageobject> … … 1505 1520 <imageobject> 1506 1521 <imagedata 1522 align="center" 1523 scalefit="1" width="100%" 1507 1524 fileref="figures/uml/datalayer.plugins.png" format="PNG" /> 1508 1525 </imageobject> … … 1682 1699 <imageobject> 1683 1700 <imagedata 1701 align="center" 1684 1702 fileref="figures/uml/datalayer.biomaterials.png" format="PNG" /> 1685 1703 </imageobject> … … 1817 1835 <imageobject> 1818 1836 <imagedata 1837 align="center" 1838 scalefit="1" width="100%" 1819 1839 fileref="figures/uml/datalayer.plates.png" format="PNG" /> 1820 1840 </imageobject> … … 1911 1931 <imageobject> 1912 1932 <imagedata 1933 align="center" 1913 1934 fileref="figures/uml/datalayer.arrays.png" format="PNG" /> 1914 1935 </imageobject> … … 1983 2004 <imageobject> 1984 2005 <imagedata 2006 align="center" 2007 scalefit="1" width="100%" 1985 2008 fileref="figures/uml/datalayer.rawdata.png" format="PNG" /> 1986 2009 </imageobject> … … 2060 2083 <sect2 id="data_api.experiments"> 2061 2084 <title>Experiments and analysis</title> 2085 2086 2087 <sect3 id="data_api.experiments.uml"> 2088 <title>UML diagram</title> 2089 2090 <figure id="data_api.figures.experiments"> 2091 <title>Experiments</title> 2092 <screenshot> 2093 <mediaobject> 2094 <imageobject> 2095 <imagedata 2096 align="center" 2097 scalefit="1" width="75%" 2098 fileref="figures/uml/datalayer.experiments.png" format="PNG" /> 2099 </imageobject> 2100 </mediaobject> 2101 </screenshot> 2102 </figure> 2103 </sect3> 2104 2105 <sect3 id="data_api.experiments.description"> 2106 <title>Experiments</title> 2107 2108 <para> 2109 The <classname docapi="net.sf.basedb.core.data">ExperimentData</classname> 2110 class is used to collect information about a single experiment. It 2111 links to any number of <classname docapi="net.sf.basedb.core.data">RawBioAssayData</classname> 2112 items, which must all be of the same <classname 2113 docapi="net.sf.basedb.core">RawDataType</classname>. 2114 </para> 2115 2116 <para> 2117 Annotation types that are needed in the analysis must connected to 2118 the experiment as experimental factors and the annotation values should 2119 be set on or inherited by each raw bioassay that is part of the 2120 experiment. 2121 </para> 2122 2123 <para> 2124 The directory connected to the experiment is the default directory 2125 where plugins that generate files should store them. 2126 </para> 2127 </sect3> 2128 2129 <sect3 id="data_api.experiments.bioassays"> 2130 <title>Bioassay sets, bioassays and transformations</title> 2131 2132 <para> 2133 Each line of analysis starts with the creation of a <emphasis>root</emphasis> 2134 <classname docapi="net.sf.basedb.core.data">BioAssaySetData</classname>, 2135 which holds the intensities calculated from the raw data. 2136 A bioassayset can hold one intensity for each channel. The number of 2137 channels is defined by the raw data type. For each raw bioassay used a 2138 <classname docapi="net.sf.basedb.core.data">BioAssayData</classname> 2139 is created. 2140 </para> 2141 2142 <para> 2143 Information about the process that calculated the intensities are 2144 stored in a <classname docapi="net.sf.basedb.core.data">TransformationData</classname> 2145 object. The root transformation links with the raw bioassays that are used 2146 in this line of analysis and to a <classname 2147 docapi="net.sf.basedb.core.data">JobData</classname> which has information 2148 about which plug-in and parameters that was used in the calculation. 2149 </para> 2150 2151 <para> 2152 Once the root bioassayset has been created it is possible to 2153 again apply a transformation to it. This time the transformation 2154 links to a single source bioassayset instead of the raw bioassays. 2155 As before, it still links to a job with information about the plug-in and 2156 parameters that does the actual work. The transformation must make sure 2157 that new bioassays are created and linked to the bioassays in the 2158 source bioassayset. This above process may be repeated as many times 2159 as needed. 2160 </para> 2161 2162 <para> 2163 Data to a bioassay set can only be added to it before it has been 2164 committed to the database. Once the transaction has been committed 2165 it is no longed possible to add more data or to modify existing 2166 data. 2167 </para> 2168 2169 </sect3> 2170 2171 <sect3 id="data_api.experiments.virtualdb"> 2172 <title>Virtual databases, datacubes, etc.</title> 2173 2174 <para> 2175 The above processes requires a flexible storage solution for the data. 2176 Each experiment is related to a <classname docapi="net.sf.basedb.core.data">VirtualDb</classname> 2177 object. This object represents the set of tables that are needed to store 2178 data for the experiment. All tables are created in a special part of the 2179 BASE database that we call the <emphasis>dynamic database</emphasis>. 2180 In MySQL the dynamic database is a separate database, in Postgres it is 2181 a separate schema. 2182 </para> 2183 2184 <para> 2185 A virual database is divided into data cubes. A data cube can be seen 2186 as a three-dimensional object where each point can hold data that in 2187 most cases can be interpreted as data for a single spot from an 2188 array. The coordinates to a point is given by <emphasis>layer</emphasis>, 2189 <emphasis>column</emphasis> and <emphasis>position</emphasis>. The 2190 layer and column coordinates are represented by the 2191 <classname docapi="net.sf.basedb.core.data">DataCubeLayerData</classname> 2192 and <classname docapi="net.sf.basedb.core.data">DataCubeColumnData</classname> 2193 objects. The position coordinate has no separate object associated with 2194 it. 2195 </para> 2196 2197 <para> 2198 Data for a single bioassay set is always stored in a single layer. It 2199 is possible for more than one bioassay set to use the same layer. This 2200 usually happens for filtering transformations that doesn't modify the 2201 data. The filtered bioassay set is then linked to a 2202 <classname docapi="net.sf.basedb.core.data">DataCubeFilterData</classname> 2203 object, which has information about which data points that 2204 passed the filter. 2205 </para> 2206 2207 <para> 2208 All data for a bioassay is stored in a single column. 2209 Two bioassays in different bioassaysets (layers) can only have the same 2210 column if one is the parent of the other. 2211 </para> 2212 2213 <para> 2214 The position coordinate is tied to a reporter. 2215 </para> 2216 2217 <para> 2218 A child bioassay set may use the same data cube as it's parent 2219 bioassay set if all of the following conditions are true: 2220 </para> 2221 2222 <itemizedlist> 2223 <listitem> 2224 <para> 2225 All positions are linked to the same reporter as the positions 2226 in the parent bioassay set. 2227 </para> 2228 </listitem> 2229 2230 <listitem> 2231 <para> 2232 All data points are linked to the same (possible many) raw data 2233 spots as the corresponding data points in the parent bioassay set. 2234 </para> 2235 </listitem> 2236 2237 <listitem> 2238 <para> 2239 The bioassays in the child bioassay set each have exactly one 2240 parent in the parent bioassay set. No parent bioassay may be the 2241 parent of more than one child bioassay. 2242 </para> 2243 </listitem> 2244 </itemizedlist> 2245 2246 <para> 2247 If any of the above conditions are not true, a new data cube 2248 must be created for the child bioassay set. 2249 </para> 2250 </sect3> 2251 2252 <sect3 id="data_api.dynamic.description"> 2253 <title>The dynamic database</title> 2254 2255 <figure id="data_api.figures.dynamic"> 2256 <title>The dynamic database</title> 2257 <screenshot> 2258 <mediaobject> 2259 <imageobject> 2260 <imagedata 2261 align="center" 2262 fileref="figures/uml/datalayer.dynamic.png" format="PNG" /> 2263 </imageobject> 2264 </mediaobject> 2265 </screenshot> 2266 </figure> 2267 2268 <para> 2269 Each virtual database consists of several tables. The tables 2270 are dynamically created when needed. For each table shown in the diagram 2271 the # sign is replaced by the id of the virtual database object at run 2272 time. 2273 </para> 2274 2275 <para> 2276 There are no classes in the data layer for these tables and they 2277 are not mapped with Hibernate. When we work with these tables we 2278 are always using batcher classes and queries that works with integer, 2279 floats and strings. 2280 </para> 2281 2282 <bridgehead>The D#Spot table</bridgehead> 2283 <para> 2284 This is the main table which keeps the intensities for a single spot 2285 in the data cube. Extra values attached to the spot are kept in separate 2286 tables, one for each type of value (D#SpotInt, D#SpotFloat and D#SpotString). 2287 </para> 2288 2289 <bridgehead>The D#Pos table</bridgehead> 2290 <para> 2291 This table stores the reporter id for each position in a cube. 2292 Extra values attached to the position are kept in separate tables, 2293 one for each type of value (D#PosInt, D#PosFloat and D#PosString). 2294 </para> 2295 2296 <bridgehead>The D#Filter table</bridgehead> 2297 <para> 2298 This table stores the coordinates for the spots that remain after 2299 filtering. Note that each filter is related to a bioassayset which 2300 gives the cube and layer values. Each row in the filter table then 2301 adds the column and position allowing us to find the spots in the 2302 D#Spot table. 2303 </para> 2304 2305 <bridgehead>The D#RawParents table</bridgehead> 2306 <para> 2307 This table holds mappings for a spot to the raw data it is calculated 2308 from. We don't need the layer coordinate since all layers in a cube 2309 must have the same mapping to raw data. 2310 </para> 2311 2312 </sect3> 2313 2314 2062 2315 </sect2> 2063 2316 2064 2317 <sect2 id="data_api.misc"> 2065 2318 <title>Other classes</title> 2319 2320 <sect3 id="data_api.misc.uml"> 2321 <title>UML diagram</title> 2322 2323 <figure id="data_api.figures.misc"> 2324 <title>Other classes</title> 2325 <screenshot> 2326 <mediaobject> 2327 <imageobject> 2328 <imagedata 2329 align="center" 2330 fileref="figures/uml/datalayer.misc.png" format="PNG" /> 2331 </imageobject> 2332 </mediaobject> 2333 </screenshot> 2334 </figure> 2335 </sect3> 2336 2066 2337 </sect2> 2067 2338 … … 2182 2453 <imageobject> 2183 2454 <imagedata 2455 align="center" 2456 scalefit="1" width="100%" 2184 2457 fileref="figures/uml/corelayer.datainfiles.png" format="PNG" /> 2185 2458 </imageobject> -
trunk/doc/src/docbook/developerdoc/documentation.xml
r3838 r3943 1498 1498 <imageobject> 1499 1499 <imagedata 1500 scalefit="1" width="100%" 1500 1501 fileref="figures/magicdraw/classtags.png" format="PNG" /> 1501 1502 </imageobject> … … 1572 1573 <imageobject> 1573 1574 <imagedata 1575 scalefit="1" width="100%" 1574 1576 fileref="figures/magicdraw/attributes.png" format="PNG" /> 1575 1577 </imageobject> … … 1645 1647 <imageobject> 1646 1648 <imagedata 1649 scalefit="1" width="100%" 1647 1650 fileref="figures/uml/datalayer.authentication.png" format="PNG" /> 1648 1651 </imageobject> -
trunk/doc/src/docbook/userdoc/import_export_data.xml
r3675 r3943 350 350 <screenshot> 351 351 <mediaobject> 352 <imageobject><imagedata fileref="figures/plugin_parameters.png" format="PNG" /></imageobject> 352 <imageobject> 353 <imagedata 354 scalefit="1" width="100%" 355 fileref="figures/plugin_parameters.png" format="PNG" /> 356 </imageobject> 353 357 </mediaobject> 354 358 </screenshot>
Note: See TracChangeset
for help on using the changeset viewer.