+ Cell Type Markers
+ Params:
+ {JSON.stringify(params, null, 2)}
+ Results:
+ {JSON.stringify(result, null, 2)}
+
+ );
+}
+
+const meta: Meta = {
+ title: 'SCFind/CellTypeMarkers',
+ component: CellTypeMarkersControl,
+ parameters: {
+ msw: {
+ handlers: [
+ http.get(`${SCFIND_BASE}/*`, () => {
+ return passthrough();
+ }),
+ ],
+ },
+ },
+ argTypes: {
+ cellTypes: {
+ control: {
+ type: 'text',
+ defaultValue: 'immature B cell',
+ },
+ },
+ annotationNames: {
+ control: {
+ type: 'text',
+ },
+ },
+ backgroundCellTypes: {
+ control: {
+ type: 'text',
+ },
+ },
+ backgroundAnnotationNames: {
+ control: {
+ type: 'text',
+ },
+ },
+ topK: {
+ control: {
+ type: 'number',
+ defaultValue: 10,
+ },
+ },
+ sortField: {
+ control: {
+ type: 'text',
+ defaultValue: 'f1',
+ },
+ },
+ includePrefix: {
+ control: {
+ type: 'boolean',
+ defaultValue: true,
+ },
+ },
+ },
+};
+
+type Story = StoryObj