use of ubic.gemma.model.analysis.expression.coexpression.CoexpressionAnalysis in project Gemma by PavlidisLab.
the class PersistentDummyObjectHelper method addTestAnalyses.
public void addTestAnalyses(ExpressionExperiment ee) {
/*
* Add analyses
*/
CoexpressionAnalysis pca = CoexpressionAnalysis.Factory.newInstance();
pca.setName(RandomStringUtils.randomNumeric(PersistentDummyObjectHelper.RANDOM_STRING_LENGTH));
pca.setExperimentAnalyzed(ee);
persisterHelper.persist(pca);
/*
* Diff
*/
DifferentialExpressionAnalysis expressionAnalysis = DifferentialExpressionAnalysis.Factory.newInstance();
Protocol protocol = Protocol.Factory.newInstance();
protocol.setName("Differential expression analysis settings");
protocol.setDescription("qvalue: " + true);
expressionAnalysis.setProtocol(protocol);
expressionAnalysis.setExperimentAnalyzed(ee);
persisterHelper.persist(expressionAnalysis);
}
Aggregations