UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

25 lines 1.06 kB
import { ISetCombinations, ISets, UpSetSelectionProps } from '@upsetjs/react'; export type UpsetPlotProps = { sql: string; rgbIndex?: number; customPlotColor?: string; selectionOpacity?: number; variant?: 'ampals'; maxBarCount?: number; setName?: string; combinationName?: string; height?: number; summaryLinkText?: string; summaryLink?: string; } & Pick<UpSetSelectionProps, 'onClick'>; export type UpsetPlotData = { sets: ISets<any>; combinations: ISetCombinations<any>; }; /** * Upset plot. See https://medium.com/@sgratzl/upset-js-javascript-tutorial-1b84bfd6896d * Currently this is driven by a Synapse Table/View, but we may want to alter it to read in the data from a flat file instead. */ export declare function UpsetPlot({ sql, variant, rgbIndex, maxBarCount, setName, combinationName, height, summaryLinkText, summaryLink, onClick, customPlotColor, selectionOpacity, }: UpsetPlotProps): import("react/jsx-runtime").JSX.Element; export default UpsetPlot; //# sourceMappingURL=UpsetPlot.d.ts.map