Class ExpressionDataDoubleMatrixTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- ubic.gemma.core.util.test.BaseSpringContextTest
-
- ubic.gemma.core.loader.expression.geo.AbstractGeoServiceTest
-
- ubic.gemma.core.datastructure.matrix.ExpressionDataDoubleMatrixTest
-
- All Implemented Interfaces:
Aware
,InitializingBean
,ApplicationContextAware
public class ExpressionDataDoubleMatrixTest extends AbstractGeoServiceTest
- Author:
- keshav, pavlidis
-
-
Field Summary
-
Fields inherited from class ubic.gemma.core.util.test.BaseSpringContextTest
externalDatabaseService, jdbcTemplate, log, persisterHelper, rule, taxonService, testHelper
-
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger
-
-
Constructor Summary
Constructors Constructor Description ExpressionDataDoubleMatrixTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testConstructExpressionDataDoubleMatrix()
Tests the construction of an ExpressionDataDoubleMatrixvoid
testConstructExpressionDataDoubleMatrixWithGeoValues()
This is a self-contained test.void
testMatrixConversion()
-
Methods inherited from class ubic.gemma.core.loader.expression.geo.AbstractGeoServiceTest
getTestFileBasePath, getTestFileBasePath
-
Methods inherited from class ubic.gemma.core.util.test.BaseSpringContextTest
addTestAnalyses, afterPropertiesSet, countRowsInTable, deleteFromTables, executeSqlScript, getNewTestPersistentCompleteExpressionExperiment, getTaxon, getTestNonPersistentBioSequence, getTestPersistentArrayDesign, getTestPersistentArrayDesign, getTestPersistentArrayDesign, getTestPersistentBasicExpressionExperiment, getTestPersistentBasicExpressionExperiment, getTestPersistentBibliographicReference, getTestPersistentBioAssay, getTestPersistentBioAssay, getTestPersistentBioMaterial, getTestPersistentBioMaterial, getTestPersistentBioSequence, getTestPersistentBioSequence, getTestPersistentBioSequence2GeneProducts, getTestPersistentBlatResult, getTestPersistentBlatResult, getTestPersistentCompleteExpressionExperiment, getTestPersistentCompleteExpressionExperimentWithSequences, getTestPersistentCompleteExpressionExperimentWithSequences, getTestPersistentContact, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentExpressionExperiment, getTestPersistentExpressionExperiment, getTestPersistentGene, getTestPersistentGene, getTestPersistentGeneProduct, getTestPersistentQuantitationType, randomName, resetTestCollectionSize, runAsAdmin, runAsAgent, runAsAnonymous, runAsUser, runAsUser, setPersisterHelper, setTaxonService, setTestCollectionSize, setUpAuthentication, setUpSecurityContextHolderStrategy, tearDownSecurityContext
-
Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
-
-
-
Method Detail
-
tearDown
public void tearDown()
-
testConstructExpressionDataDoubleMatrix
public void testConstructExpressionDataDoubleMatrix()
Tests the construction of an ExpressionDataDoubleMatrix
-
testConstructExpressionDataDoubleMatrixWithGeoValues
public void testConstructExpressionDataDoubleMatrixWithGeoValues()
This is a self-contained test. That is, it does not depend on the setup in onSetUpInTransaction}. It tests creating anExpressionDataDoubleMatrix
using real values from the Gene Expression Omnibus (GEO). That is, we have obtained information from GSE994. The probe sets used are 218120_s_at and 121_at, and the samples used are GSM15697 and GSM15744. Specifically, we the Gemma objects that correspond to the GEO objects are: DesignElement 1 = 218120_s_at, DesignElement 2 = 121_at BioAssay 1 = "Current Smoker 73", BioAssay 2 = "Former Smoker 34" BioMaterial 1 = "GSM15697", BioMaterial 2 = "GSM15744" BioAssayDimension = "GSM15697, GSM15744" (the names of all the biomaterials).
-
-