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

Feature/modify graph view #75

Merged
merged 9 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
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
4 changes: 4 additions & 0 deletions src/views/statistics/PhylogenyCountsBarchart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ data.push({

const layout: Partial<Layout> = {
height: 800,
margin: {
t: 50,
},
yaxis: {
automargin: true,
showticklabels: false,
},
xaxis: {
type: "log",
Expand Down
23 changes: 22 additions & 1 deletion src/views/statistics/StatisticsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,31 @@ state.value.setState(State.Loading);
<RepositoryStatistics :entries="summaryData" />
</div>
<div>
<h3 class="ps-5">Genus Composition:</h3>
<h3 class="ps-5 pt-2">Genus Composition:</h3>
<p class="px-5">
This chart presents the number of entries per genus for all genera
stored in bakre, the y-axis shows the different genus while the x-axis
lukasjelonek marked this conversation as resolved.
Show resolved Hide resolved
represents how often this genus is found in the database. To improve the
horizontal resolution of the low abundant genera, the x-axis is
logarithmically scaled.
</p>
<p class="px-5">
The default horizontal resolution contains multiple genera per pixel. In
lukasjelonek marked this conversation as resolved.
Show resolved Hide resolved
order to see more details, you can zoom into areas of interest. Create a
zoom selection by clicking in one of the corners of your area of
interest and drag a selection box to the other corner of your interest.
Hovering over a bar will reveal the genus that is selected.
</p>
<PhylogenyCountsBarChart :inputData="genusData" />
</div>
<div>
<p class="px-5">
This chart presents the number of entries per species for all species
stored in bakre, the y-axis shows the different species while the x-axis
lukasjelonek marked this conversation as resolved.
Show resolved Hide resolved
represents how often this species is found in the database. To improve
the horizontal resolution of the low abundant species, the x-axis is
logarithmically scaled.
</p>
<h3 class="ps-5">Species Composition:</h3>
<PhylogenyCountsBarChart :inputData="speciesData" />
</div>
Expand Down