Package Exports
- @oncojs/lolliplot
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@oncojs/lolliplot) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Protein Lolliplot 🍭 📊

Visualization to view relationship between common mutations and their location on a gene.
Install
yarnAPI
type TProteinLolliplotArgs = {
selector: string,
data: Object,
domainWidth: number,
onMutationClick: ?Function,
height: ?number,
width: ?number,
hideStats: ?bool,
selectedMutationClass: ?string,
}selector: the selector of the element to attach the chart to
data: an object containing an array of proteins and an array of mutations (TODO: add shape)
domainWidth: The amino acid length of the transcript
onMutationClick (optional): callback that receives the data of the clicked mutation
width (optional): width of the chart
height (optional): height of the chart
hideStats (optional): if true, do not display the summary box next of the chart
selectedMutationClass (optional): sets the default filter on the mutation class (Consequence, Impact, etc)