@Test public void testGet() { BaselineProfileStreamOptions<ExpressionUnit.Absolute.Rna> baselineProfileStreamOptions = new BaselineRequestContext<>(new RnaSeqBaselineRequestPreferences(), experiment); JsonObject result = subject.get("accession", "", baselineProfileStreamOptions).asJson(); assertThat(result.has("bins"), is(true)); Mockito.verify(rnaSeqBaselineProfileStreamFactory) .histogram(experiment, baselineProfileStreamOptions, cutoffScale.get()); }
protected HistogramAcrossGenes get(String accession, String accessKey, O streamOptions) { try { return cache.get(HistogramCacheKey.create(accession, accessKey, streamOptions)); } catch (ExecutionException e) { throw new RuntimeException(e); } }
HistogramService { protected HistogramAcrossGenes get(String accession, String accessKey, O streamOptions) { try { return cache.get(HistogramCacheKey.create(accession, accessKey, streamOptions)); } catch (ExecutionException e) { throw new RuntimeException(e); } } }
HistogramService { protected HistogramAcrossGenes get(String accession, String accessKey, O streamOptions) { try { return cache.get(HistogramCacheKey.create(accession, accessKey, streamOptions)); } catch (ExecutionException e) { throw new RuntimeException(e); } } HistogramService(final ProfileStreamFactory<?, ?, E, O, ?> profileStreamFactory,
                            final ExperimentTrader experimentTrader,
                            final double[] cutoffBins); }
HistogramService { protected HistogramAcrossGenes get(String accession, String accessKey, O streamOptions) { try { return cache.get(HistogramCacheKey.create(accession, accessKey, streamOptions)); } catch (ExecutionException e) { throw new RuntimeException(e); } } HistogramService(final ProfileStreamFactory<?, ?, E, O, ?> profileStreamFactory,
                            final ExperimentTrader experimentTrader,
                            final double[] cutoffBins);  }
HistogramService { protected HistogramAcrossGenes get(String accession, String accessKey, O streamOptions) { try { return cache.get(HistogramCacheKey.create(accession, accessKey, streamOptions)); } catch (ExecutionException e) { throw new RuntimeException(e); } } HistogramService(final ProfileStreamFactory<?, ?, E, O, ?> profileStreamFactory,
                            final ExperimentTrader experimentTrader,
                            final double[] cutoffBins);   }