本文整理汇总了Java中gov.nih.nci.caarray.services.CaArrayServer.getArrayDesignDetailsService方法的典型用法代码示例。如果您正苦于以下问题:Java CaArrayServer.getArrayDesignDetailsService方法的具体用法?Java CaArrayServer.getArrayDesignDetailsService怎么用?Java CaArrayServer.getArrayDesignDetailsService使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类gov.nih.nci.caarray.services.CaArrayServer
的用法示例。
在下文中一共展示了CaArrayServer.getArrayDesignDetailsService方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: downloadDetailsFromArrayDesign
import gov.nih.nci.caarray.services.CaArrayServer; //导入方法依赖的package包/类
private void downloadDetailsFromArrayDesign(CaArrayServer server, CaArraySearchService searchService,
String arrayDesignName) {
ArrayDesign arrayDesign = lookupArrayDesign(searchService, arrayDesignName);
if (arrayDesign == null) {
System.out.println("Error: Could not find array design.");
return;
}
ArrayDesignDetailsService arrayDesignDetailsService = server.getArrayDesignDetailsService();
ArrayDesignDetails details = arrayDesignDetailsService.getDesignDetails(arrayDesign);
if (details != null) {
System.out.println("Retrieved " + details.getFeatures().size() + " features, "
+ details.getProbeGroups().size() + " probe group(s), " + details.getProbes().size()
+ " physical probes and " + details.getLogicalProbes().size() + " logical probes.");
} else {
System.out.println("Error: Retrieved null array design details.");
}
}
示例2: downloadDetailsFromArrayDesign
import gov.nih.nci.caarray.services.CaArrayServer; //导入方法依赖的package包/类
private void downloadDetailsFromArrayDesign(CaArrayServer server, CaArraySearchService searchService, String arrayDesignName) {
ArrayDesign arrayDesign = lookupArrayDesign(searchService, arrayDesignName);
if (arrayDesign != null) {
ArrayDesignDetailsService arrayDesignDetailsService = server.getArrayDesignDetailsService();
ArrayDesignDetails details = arrayDesignDetailsService.getDesignDetails(arrayDesign);
logForSilverCompatibility(API_CALL, "ArrayDesignDetailsService.getDesignDetails()");
if (details != null) {
logForSilverCompatibility(TEST_OUTPUT, "Retrieved " + arrayDesignName + " with " + details.getFeatures().size() + " features, "
+ details.getProbeGroups().size() + " probe groups, " + details.getProbes().size()
+ " probes and " + details.getLogicalProbes().size() + " logical probes.");
assertTrue(true);
} else {
logForSilverCompatibility(TEST_OUTPUT, "Error: Array Design Details was null.");
assertTrue("Error: Array Design Details was null.", false);
}
} else {
logForSilverCompatibility(TEST_OUTPUT, "Error: Array Design was null.");
assertTrue("Error: Array Design was null.", false);
}
}
示例3: connect
import gov.nih.nci.caarray.services.CaArrayServer; //导入方法依赖的package包/类
public void connect() throws Exception
{
String hostName = TestProperties.getJavaServerHostname();
int port = TestProperties.getJavaServerJndiPort();
System.out.println("Connecting to java server: " + hostName + ":" + port);
CaArrayServer server = new CaArrayServer(hostName, port);
server.connect();
javaSearchService = server.getSearchService();
dataService = server.getDataRetrievalService();
arrayDesignService = server.getArrayDesignDetailsService();
fileRetrievalService = server.getFileRetrievalService();
}