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
......@@ -422,6 +422,10 @@ import net.sf.samtools.SAMRecord;
c.gridy = c.gridy+1;
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" };
int select = JOptionPane.showOptionDialog(null, opts, "Coverage Options",
JOptionPane.DEFAULT_OPTION, JOptionPane.QUESTION_MESSAGE, null,
......@@ -433,6 +437,7 @@ import net.sf.samtools.SAMRecord;
redraw = true;
autoWinSize = autoSet.isSelected();
includeCombined = showCombined.isSelected();
plotByStrand = byStrand.isSelected();
try
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment