dd6190e78c5e8ac449c2b899045b6666dcd1fb3f,atlas/report/qc_report.py,,draw_se_read_quality,#,73

Before Change



def draw_se_read_quality(Quality_se):
    f, ax = plt.subplots(1, 1)
    Quality_se.plot(legend=False, ax=ax)
    ax.set_ylabel("Quality score")
    ax.set_xlabel("Postition")
    ax.set_ylim([min_quality, max_quality])
    // again, kwargs should be added to this function

After Change


//,

def draw_se_read_quality(df,quality_range,**kwargs):
    return offline.plot(
        df.iplot(
            asFigure=True,
            kind="line",
            layout = go.Layout(
                yaxis = dict(range=quality_range, autorange=True, title="Quality score"),
                xaxis = dict(title="Position read"),
                            )
                    ),**kwargs,**PLOTLY_PARAMS

                    )


    // f, ax = plt.subplots(1, 1)
    // Quality_se.plot(legend=False, ax=ax)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: metagenome-atlas/atlas
Commit Name: dd6190e78c5e8ac449c2b899045b6666dcd1fb3f
Time: 2018-05-25
Author: silas.kieser@gmail.com
File Name: atlas/report/qc_report.py
Class Name:
Method Name: draw_se_read_quality


Project Name: hpclab/rankeval
Commit Name: b104ef8ea5f6e98b0b05a5cf068bba0c8689d445
Time: 2017-07-27
Author: cristina.i.muntean@gmail.com
File Name: rankeval/visualization/effectiveness.py
Class Name:
Method Name: plot_tree_wise_average_contribution


Project Name: metagenome-atlas/atlas
Commit Name: dd6190e78c5e8ac449c2b899045b6666dcd1fb3f
Time: 2018-05-25
Author: silas.kieser@gmail.com
File Name: atlas/report/qc_report.py
Class Name:
Method Name: get_pe_read_quality_plot