a28e2dfe48dc1812d4212c6aaaac3ace6384132f,atlas/report/qc_report.py,,get_pe_read_quality_plot,#,39

Before Change


        fig.append_trace({"x": df.index, "y": df["mean_1"][sample].values,
                          "type": "scatter", "name": sample}, 1, 1)

    for sample in df["mean_2"].columns:
        fig.append_trace({"x": df.index, "y": df["mean_2"][sample].values,
                          "type": "scatter", "name": sample}, 1, 2)


    fig["layout"].update(
                     yaxis = dict(range=quality_range, autorange=True, title="Quality score"),
                     xaxis1 = dict(title="Position forward read"),
                     xaxis2 = dict(autorange="reversed",title="Position reverse read")

After Change


def get_pe_read_quality_plot(df,quality_range,colorscale="Viridis", **kwargs):

    N= len(df["mean_1"].columns)
    c= ["hsl("+str(h)+",50%"+",50%)" for h in np.linspace(0, 360, N+1)]

    fig = tools.make_subplots(rows=1, cols=2, shared_yaxes=True)

    for i,sample in enumerate(df["mean_1"].columns):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


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


Project Name: geekcomputers/Python
Commit Name: 6a40871d5bd21bd8786bc340008dfa8d8bf02b05
Time: 2020-03-17
Author: 62071377+Msubboti@users.noreply.github.com
File Name: Print_List_of_Even_Numbers.py
Class Name:
Method Name:


Project Name: geekcomputers/Python
Commit Name: 6a40871d5bd21bd8786bc340008dfa8d8bf02b05
Time: 2020-03-17
Author: 62071377+Msubboti@users.noreply.github.com
File Name: Print_List_of_Odd_Numbers.py
Class Name:
Method Name: