| <<O>> Difference Topic MBATDataSourceAPI (r1.8 - 31 Jul 2008 - DarenLee) |
| <<O>> Difference Topic MBATDataSourceAPI (r1.7 - 30 Jul 2008 - DarenLee) |
Current Data Types to be Displayed in MBAT | ||||||||
| Line: 84 to 84 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
| Changed: | ||||||||
| < < |
mbSearch core base class for all datasource plugins: | |||||||
| > > |
mbDataSourceBaseBase class for all datasource plugins: | |||||||
|
| ||||||||
| Changed: | ||||||||
| < < |
public interface mbDataSource | |||||||
| > > |
public interface mbDataSourceBase | |||||||
| { boolean hasQueryTermSearch(); boolean hasKeywordSearch(); boolean hasSemanticSearch(); | ||||||||
| Changed: | ||||||||
| < < |
HashMap?< mbResult.DATATYPE, Vector< mbResult> > searchByQueryTerms( Vector< SearchParam? > vQueryTerms ); HashMap?< mbResult.DATATYPE, Vector< mbResult> > searchByKeyword( String sKeywords ); HashMap?< mbResult.DATATYPE, Vector< mbResult> > searchBySemantic( String sRDF ); void QueryTermToSourceTerm?( Vector< SearchParam? > vTerms); NOTE: since BonFire services aren't stable and not sure if they can support our needs, this will have to be re-evaluated | |||||||
| > > |
/** * Returns a vector of mbQueryResults. Vector can be of mixed datatypes * (ie: IMAGE2D, GENEEXPRESSION, etc) */ Vector< mbQueryResult> searchByQueryTerms( Vector< SearchParam? > vQueryTerms ); Vector< mbQueryResult> searchByKeyword( String sKeywords ); Vector< mbQueryResult> searchBySemantic( String sRDF ); void QueryTermToSourceTerm?( Vector< SearchParam? > vTerms); // NOTE: since BonFire services aren't stable and not sure if they can // support our needs, this will have to be re-evaluated | |||||||
|
}
| ||||||||
| Changed: | ||||||||
| < < |
Sample datasource plugin: | |||||||
| > > |
Sample datasource plugin: | |||||||
public class ABASource implements DataSource
{
| ||||||||
| Changed: | ||||||||
| < < |
Vector< Vector< mbResult> > searchByQueryTerms( Vector< SearchParam? > vQueryTerms ); | |||||||
| > > |
Vector< mbQueryResult> searchByQueryTerms( Vector< SearchParam? > vQueryTerms ); | |||||||
| boolean hasQueryTermSearch() { return true; } boolean hasKeywordSearch() { return false; } | ||||||||
| Line: 115 to 122 | ||||||||
|
}
| ||||||||
| Changed: | ||||||||
| < < |
Class hierarchy of result types: | |||||||
| > > |
MBAT3.0 Core Object ClassesThe core objects can be accessed by any workspace in mbat3.0. Class hierarchy of core objects: | |||||||
|
| ||||||||
| Changed: | ||||||||
| < < |
mbResult | |||||||
| > > |
mbObject (base object for all accessible objects in mbat3.0) ^ | mbAnnotatedObject (represents an object with annotations in mbat3.0) | |||||||
|
^
|
Probe Image2DSeries Image3D NumericData? ExpressionLevel?
| ||||||||
| Added: | ||||||||
| > > |
mbQueryResultThe mbQueryResult class represents a single result from a query and can contain multiple annotated objects of different datatypes:
public class mbQueryResult {
public enum DATATYPE {
UNKNOWN,
IMAGE2D,
IMAGE3D,
PROBE,
GENE,
GENE_ALIAS,
GENE_EXPRESSION,
STRUCTURE,
DATATYPE_COUNT
}
// datasource
private mbDataSourceBase m_mbDataSource;
// annotated objects for this result, indexed by datatype
private HashMap< DATATYPE, mbAnnotatedObject > m_hashmapResultSet;
}
Class hierarchy of query results:
mbQueryResult
^
|
ABAResult CCDBResult BMDBResult
| |||||||
Implementation details:
| ||||||||
| Deleted: | ||||||||
| < < |
class mbResult:
public class mbResult
{
DATATYPE m_DataType; // Image2D, Probe, etc.
mbDataSourceBase m_mbDataSource; // ABA, BMDB, CCDB, etc
Vector< Annototation > m_vAnnotations; // annotation pairs
Vector< mbResult > m_vChildren; // hierarchy/ontology results
}
| |||||||
GUI Interfaces
| ||||||||
| <<O>> Difference Topic MBATDataSourceAPI (r1.6 - 29 Jul 2008 - DarenLee) |
Current Data Types to be Displayed in MBAT | ||||||||
| Line: 87 to 87 | ||||||||
|---|---|---|---|---|---|---|---|---|
|
mbSearch core base class for all datasource plugins:
| ||||||||
| Changed: | ||||||||
| < < |
public interface DataSource? | |||||||
| > > |
public interface mbDataSource | |||||||
| { boolean hasQueryTermSearch(); boolean hasKeywordSearch(); boolean hasSemanticSearch(); | ||||||||
| Changed: | ||||||||
| < < |
Vector< Vector< mbResult> > searchByQueryTerms( Vector< SearchParam? > vQueryTerms ); Vector< Vector< mbResult> > searchByKeyword( String sKeywords ); Vector< Vector< mbResult> > searchBySemantic( String sRDF ); | |||||||
| > > |
HashMap?< mbResult.DATATYPE, Vector< mbResult> > searchByQueryTerms( Vector< SearchParam? > vQueryTerms ); HashMap?< mbResult.DATATYPE, Vector< mbResult> > searchByKeyword( String sKeywords ); HashMap?< mbResult.DATATYPE, Vector< mbResult> > searchBySemantic( String sRDF ); | |||||||
| void QueryTermToSourceTerm?( Vector< SearchParam? > vTerms); NOTE: since BonFire services aren't stable and not sure if they can support our needs, this will have to be re-evaluated } | ||||||||
| Line: 117 to 117 | ||||||||
|
Class hierarchy of result types: | ||||||||
| Changed: | ||||||||
| < < |
MBATResult | |||||||
| > > |
mbResult | |||||||
| ^ | | ||||||||
| Line: 134 to 134 | ||||||||
public class mbResult
{
| ||||||||
| Changed: | ||||||||
| < < |
DataType? m_dataType; // Image2D, Probe, etc. DataSource? m_dataSourceRef; // ABA, BMDB, CCDB, etc Vector< Annot > m_vAnnotations; // annotation pairs | |||||||
| > > |
DATATYPE m_DataType; // Image2D, Probe, etc. mbDataSourceBase m_mbDataSource; // ABA, BMDB, CCDB, etc Vector< Annototation > m_vAnnotations; // annotation pairs | |||||||
| Vector< mbResult > m_vChildren; // hierarchy/ontology results } | ||||||||
| <<O>> Difference Topic MBATDataSourceAPI (r1.5 - 24 Jun 2008 - DarenLee) |
Current Data Types to be Displayed in MBAT | ||||||||
| Line: 93 to 93 | ||||||||
|---|---|---|---|---|---|---|---|---|
| boolean hasKeywordSearch(); boolean hasSemanticSearch(); | ||||||||
| Changed: | ||||||||
| < < |
Vector< MBATResult > searchByQueryTerms( Vector< SearchParam? > vQueryTerms ); Vector< MBATResult > searchByKeyword( String sKeywords ); Vector< MBATResult > searchBySemantic( String sRDF ); | |||||||
| > > |
Vector< Vector< mbResult> > searchByQueryTerms( Vector< SearchParam? > vQueryTerms ); Vector< Vector< mbResult> > searchByKeyword( String sKeywords ); Vector< Vector< mbResult> > searchBySemantic( String sRDF ); | |||||||
| void QueryTermToSourceTerm?( Vector< SearchParam? > vTerms); NOTE: since BonFire services aren't stable and not sure if they can support our needs, this will have to be re-evaluated } | ||||||||
| Line: 107 to 107 | ||||||||
public class ABASource implements DataSource
{
| ||||||||
| Changed: | ||||||||
| < < |
Vector< MBATResult > searchByQueryTerms( Vector< SearchParam? > vQueryTerms ); | |||||||
| > > |
Vector< Vector< mbResult> > searchByQueryTerms( Vector< SearchParam? > vQueryTerms ); | |||||||
| boolean hasQueryTermSearch() { return true; } boolean hasKeywordSearch() { return false; } | ||||||||
| Line: 130 to 130 | ||||||||
| ||||||||
| Added: | ||||||||
| > > |
class mbResult:
public class mbResult
{
DataType m_dataType; // Image2D, Probe, etc.
DataSource m_dataSourceRef; // ABA, BMDB, CCDB, etc
Vector< Annot > m_vAnnotations; // annotation pairs
Vector< mbResult > m_vChildren; // hierarchy/ontology results
}
GUI Interfaces
| |||||||
| <<O>> Difference Topic MBATDataSourceAPI (r1.4 - 17 Jun 2008 - DarenLee) |
Current Data Types to be Displayed in MBAT | |||||||||||||
| Changed: | |||||||||||||
| < < |
| ||||||||||||
| > > |
| ||||||||||||
|
| |||||||||||||
| Line: 9 to 9 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||||
| Added: | |||||||||||||
| > > |
Image3D (Image3DSeries?)
An image volume such as Analyze or NIFTI.
| ||||||||||||
| ExpressionLevel A microarray expression level for a particular anatomical structure or region. The structure or region may be expressed by name (i.e. "cerebellum") or the geometric coordinates in an atlas. | |||||||||||||
| Changed: | |||||||||||||
| < < |
The expression value may be numerical or it may be an English word indicating a relative expression level (i.e. "low", "mid", "high"). | ||||||||||||
| > > |
The expression value may be numerical or it may be an English word indicating a relative expression level (i.e. GENSAT "low", "mid", "high"). | ||||||||||||
|
| |||||||||||||
| Changed: | |||||||||||||
| < < |
ExpressionLevelGroup | ||||||||||||
| > > |
MicroarrayProbe Talk with Rob Williams about GN results. See if we can converge results types from other individual researchers and GN database. ExpressionLevelGroup (might not need this) | ||||||||||||
| Not yet sure what to call this or whether a separate type is even needed. But this type would provide some way to represent multiple microarray levels across the whole brain. This is analagous to the current probe result, but not limited to microarray probes. Once a more complete list of potential sources is identified, this should become clear. | |||||||||||||
| Changed: | |||||||||||||
| < < |
|||||||||||||
| > > |
|||||||||||||
Current Data Sources | |||||||||||||
| Line: 29 to 46 | |||||||||||||
| |||||||||||||
| Added: | |||||||||||||
| > > |
| ||||||||||||
| |||||||||||||
| Changed: | |||||||||||||
| < < |
| ||||||||||||
| > > |
| ||||||||||||
Planned Data Sources
| |||||||||||||
| Added: | |||||||||||||
| > > |
| ||||||||||||
|
| |||||||||||||
| Changed: | |||||||||||||
| < < |
Required Data Source Information | ||||||||||||
| > > |
Annotation Display
Required Data Source Information per Plugin | ||||||||||||
| |||||||||||||
| Changed: | |||||||||||||
| < < |
| ||||||||||||
| > > |
| ||||||||||||
| |||||||||||||
| Changed: | |||||||||||||
| < < |
| ||||||||||||
| > > |
mbSearch core base class for all datasource plugins: | ||||||||||||
| Added: | |||||||||||||
| > > |
public interface DataSource
{
boolean hasQueryTermSearch();
boolean hasKeywordSearch();
boolean hasSemanticSearch();
Vector< MBATResult > searchByQueryTerms( Vector< SearchParam > vQueryTerms );
Vector< MBATResult > searchByKeyword( String sKeywords );
Vector< MBATResult > searchBySemantic( String sRDF );
void QueryTermToSourceTerm( Vector< SearchParam > vTerms); NOTE: since !BonFire services aren't stable and not sure if they can support our needs, this will have to be re-evaluated
}
Sample datasource plugin:
public class ABASource implements DataSource
{
Vector< MBATResult > searchByQueryTerms( Vector< SearchParam > vQueryTerms );
boolean hasQueryTermSearch() { return true; }
boolean hasKeywordSearch() { return false; }
boolean hasSemanticSearch() { return false; }
}
Class hierarchy of result types:
MBATResult
^
|
Probe Image2DSeries Image3D NumericData ExpressionLevel
Implementation details:
| ||||||||||||
|
| |||||||||||||
| <<O>> Difference Topic MBATDataSourceAPI (r1.3 - 14 Jun 2008 - DarenLee) |
Current Data Types to be Displayed in MBAT | ||||||||
| Line: 38 to 38 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
| Added: | ||||||||
| > > |
Required Data Source Information
| |||||||
| <<O>> Difference Topic MBATDataSourceAPI (r1.2 - 13 Jun 2008 - SteveAnderson) |
| ||||||||||
| Changed: | ||||||||||
| < < |
Current Data Types Displayed in MBAT | |||||||||
| > > |
Current Data Types to be Displayed in MBAT | |||||||||
| ||||||||||
| Line: 15 to 15 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| The expression value may be numerical or it may be an English word indicating a relative expression level (i.e. "low", "mid", "high"). | ||||||||||
| Added: | ||||||||||
| > > |
| |||||||||
Current Data Sources
| ||||||||||
| Changed: | ||||||||||
| < < |
| |||||||||
| > > |
| |||||||||
| ||||||||||
| Added: | ||||||||||
| > > |
| |||||||||
Planned Data Sources
| ||||||||||
| <<O>> Difference Topic MBATDataSourceAPI (r1.1 - 13 Jun 2008 - SteveAnderson) |
| Line: 1 to 1 | |||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Added: | |||||||||||||||||||||||||||||||
| > > |
Current Data Types Displayed in MBAT
Current Data Sources
Planned Data Sources
| ||||||||||||||||||||||||||||||
|
Revision r1.1 - 13 Jun 2008 - 14:32 - SteveAnderson Revision r1.8 - 31 Jul 2008 - 19:26 - DarenLee |