Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including number of samples in mutations in lineage plot #184

Merged
merged 17 commits into from
Dec 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Introducing n_samples var with num of samples
Shettland committed Dec 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 28537ee2854e5bf1bc4eb12ab572a2072fa9475c
4 changes: 2 additions & 2 deletions dashboard/views.py
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ def mutations_in_lineage(request):
# mutations in lineages by lineage
def_chrom = core.utils.variants.get_default_chromosome()
lineages_list = core.utils.lineage.get_lineages_list()
mdata, lineage = (
mdata, lineage, n_samples = (
dashboard.utils.var_needle_mutation_graph_by_lineage.get_variant_data_from_lineages(
graphic_name="variations_per_lineage", lineage=None, chromosome=def_chrom
)
@@ -45,7 +45,7 @@ def mutations_in_lineage(request):
{"ERROR": dashboard.dashboard_config.ERROR_NO_LINEAGES_ARE_DEFINED_YET},
)
dashboard.utils.var_needle_mutation_graph_by_lineage.create_needle_plot_graph_mutation_by_lineage(
lineages_list, lineage, mdata
lineages_list, lineage, mdata, n_samples
)
return render(
request,