Commit cddbbceb authored by Beatrice Tan's avatar Beatrice Tan
Browse files

Updated imports.

parent 4e7e93dd
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
from matplotlib_venn import venn2
import pandas as pd
import seaborn as sns
from scipy.stats import ttest_ind
import os.path
import pyensembl
from math import log10
......
......@@ -7,7 +7,6 @@ import seaborn as sns
from scipy.stats import ttest_ind
import os.path
import pyensembl
from math import log10
from ParseResults import parse, stats
def install_ensembl(reference_genome):
......@@ -24,7 +23,7 @@ def install_ensembl(reference_genome):
except:
pass
class ReportSegmentation():
class ReportSegmentation:
"""Make a report of the segmentation file used as input."""
def __init__(self, segmentation_file, report_file):
self.make_seg_report(segmentation_file, report_file)
......@@ -326,6 +325,7 @@ class ReportSizes:
png_file = os.path.join(plot_dir, y_axis.replace(" ", "_") + ".png")
plt.savefig(png_file, dpi=300)
class ReportControl:
"""Make a report on analyses using control samples or without using them."""
def __init__(self, control_results, nocontrol_results, report_file, census_genes, known_genes):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment