UNPKG

synapse-react-client

Version:

[![Build Status](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client.svg?branch=main)](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synaps

23 lines (22 loc) 742 B
import React from 'react'; import { ISetCombinations, ISets } from '@upsetjs/react'; export declare type UpsetPlotProps = { sql: string; rgbIndex: number; maxBarCount?: number; setName?: string; combinationName?: string; height?: number; summaryLinkText?: string; summaryLink?: string; }; export declare 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. */ declare const UpsetPlot: React.FunctionComponent<UpsetPlotProps>; export default UpsetPlot;