BufferedWriter bw= new BufferedWriter(new FileWriter(out));
BedGraphExporter.writeTitle(bw, tit);
String[] chrs= lb.getUnsortedChromosomeList();
for( int i=0; i<chrs.length ; i++ ){
String chr= chrs[i];
LandscapeBuilder lbt= new LandscapeBuilder();
lbt.addAll(chr, lb.getLandscape2DForChromosome(chr));
new LandscapeTransformer(lbt).unlog(Math.E);
BedGraphExporter be= new BedGraphExporter(lbt);
be.appendToFile(bw);
}
bw.close();