Skip to content
Snippets Groups Projects
Commit a454eb62 authored by tcarver's avatar tcarver
Browse files

add option to plot coverage by strand

parent b94fa291
No related branches found
No related tags found
No related merge requests found
...@@ -421,6 +421,10 @@ import net.sf.samtools.SAMRecord; ...@@ -421,6 +421,10 @@ import net.sf.samtools.SAMRecord;
showCombined.setEnabled(false); showCombined.setEnabled(false);
c.gridy = c.gridy+1; c.gridy = c.gridy+1;
opts.add(showCombined, c); opts.add(showCombined, c);
final JCheckBox byStrand = new JCheckBox("Plot by strand", plotByStrand);
c.gridy = c.gridy+1;
opts.add(byStrand, c);
String window_options[] = { "OK", "Cancel" }; String window_options[] = { "OK", "Cancel" };
int select = JOptionPane.showOptionDialog(null, opts, "Coverage Options", int select = JOptionPane.showOptionDialog(null, opts, "Coverage Options",
...@@ -433,6 +437,7 @@ import net.sf.samtools.SAMRecord; ...@@ -433,6 +437,7 @@ import net.sf.samtools.SAMRecord;
redraw = true; redraw = true;
autoWinSize = autoSet.isSelected(); autoWinSize = autoSet.isSelected();
includeCombined = showCombined.isSelected(); includeCombined = showCombined.isSelected();
plotByStrand = byStrand.isSelected();
try try
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment