Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,19 @@ yarn run docs
- BarPlot :white_check_mark:
- StackedBarPlot :white_check_mark:
- ScatterPlot :white_check_mark:
- GenomeScatterPlot :white_check_mark:
- GenomeStackedBarPlot
- GenomeTrackPlot
- TrackPlot :white_check_mark:
- MultiTrackPlot
- DendrogramPlot :white_check_mark:
- MultiTrackPlot :white_check_mark:
- BoxPlot :white_check_mark:
- MultiBoxPlot :white_check_mark:
- ViolinPlot
- DendrogramPlot :white_check_mark:


#### Genome Plot Components
- GenomeScatterPlot :white_check_mark:
- GenomeBarPlot
- GenomeStackedBarPlot
- GenomeTrackPlot
- GenomeMultiTrackPlot


### Axis Components
Expand Down
3 changes: 2 additions & 1 deletion documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ toc:
- BoxPlot
- MultiBoxPlot
- TrackPlot
- GenomeScatterPlot
- MultiTrackPlot
- DendrogramPlot
- GenomeScatterPlot
- mixin
- Axis
- GenomeAxis
Expand Down
47 changes: 44 additions & 3 deletions examples-src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,35 @@
/>
</PlotContainer>

<h3>&lt;MultiTrackPlot/&gt;</h3>
<PlotContainer
:pWidth="780"
:pHeight="500"
:pMarginTop="20"
:pMarginLeft="180"
:pMarginRight="20"
:pMarginBottom="20"
>
<Axis
slot="axisLeft"
variable="signature"
side="left"
:getScale="getScale"
:getStack="getStack"
/>
<MultiTrackPlot
slot="plot"
data="exposures_data"
x="sample_id"
y="signature"
c="exposure"
:getScale="getScale"
:getStack="getStack"
:getData="getData"
:clickHandler="exampleClickHandler"
/>
</PlotContainer>


<h3>&lt;SortOptions/&gt;</h3>
<SortOptions
Expand All @@ -315,9 +344,20 @@
<script>
import { set as d3_set } from 'd3-collection';
// Plots
import { PlotContainer, Axis, GenomeAxis } from '../src/index.js';
import { StackedBarPlot, BarPlot, ScatterPlot, BoxPlot, MultiBoxPlot, TrackPlot, DendrogramPlot } from '../src/index.js';
import { GenomeScatterPlot } from '../src/index.js';
import {
PlotContainer,
Axis,
GenomeAxis,
StackedBarPlot,
BarPlot,
ScatterPlot,
BoxPlot,
MultiBoxPlot,
TrackPlot,
MultiTrackPlot,
DendrogramPlot,
GenomeScatterPlot
} from '../src/index.js';


// Data
Expand Down Expand Up @@ -543,6 +583,7 @@ export default {
BoxPlot,
MultiBoxPlot,
TrackPlot,
MultiTrackPlot,
GenomeScatterPlot,
DendrogramPlot
},
Expand Down
Loading