本文整理了Java中htsjdk.samtools.util.Histogram.getBinLabel()
方法的一些代码示例,展示了Histogram.getBinLabel()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Histogram.getBinLabel()
方法的具体详情如下:
包路径:htsjdk.samtools.util.Histogram
类名称:Histogram
方法名:getBinLabel
暂无
代码示例来源:origin: samtools/htsjdk
out.append(StringUtil.assertCharactersNotInString(nonEmptyHistograms.get(0).getBinLabel(), '\t', '\n'));
for (final Histogram<HKEY> histo : nonEmptyHistograms) {
out.append(SEPARATOR);
代码示例来源:origin: com.github.samtools/htsjdk
out.append(StringUtil.assertCharactersNotInString(nonEmptyHistograms.get(0).getBinLabel(), '\t', '\n'));
for (final Histogram<HKEY> histo : nonEmptyHistograms) {
out.append(SEPARATOR);
代码示例来源:origin: org.seqdoop/htsjdk
out.append(StringUtil.assertCharactersNotInString(nonEmptyHistograms.get(0).getBinLabel(), '\t', '\n'));
for (final Histogram<HKEY> histo : nonEmptyHistograms) {
out.append(SEPARATOR);
代码示例来源:origin: samtools/htsjdk
@Test
public void testLabels() {
final int[] is = {4,4,5,5,5};
final Histogram<Integer> histo = new Histogram<>("FOO", "BAR");
for (final int i : is) histo.increment(i);
Assert.assertEquals(histo.getBinLabel(),"FOO");
Assert.assertEquals(histo.getValueLabel(),"BAR");
}
内容来源于网络,如有侵权,请联系作者删除!